R Dataset / Package lattice / singer

On this R-data statistics page, you will find information about the singer data set which pertains to Heights of New York Choral Society singers . The singer data set is found in the lattice R package. You can load the singer data set in R by issuing the following command at the console data("singer"). This will load the data into a variable called singer. If R says the singer data set is not found, you can try installing the package by issuing this command install.packages("lattice") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the singer R data set. The size of this file is about 3,082 bytes.

Heights of New York Choral Society singers

Description

Heights in inches of the singers in the New York Choral Society in 1979. The data are grouped according to voice part. The vocal range for each voice part increases in pitch according to the following order: Bass 2, Bass 1, Tenor 2, Tenor 1, Alto 2, Alto 1, Soprano 2, Soprano 1.

Usage

singer

Format

A data frame with 235 observations on the following 2 variables.

height

Height in inches of the singers.

voice.part

(Unordered) factor with levels "Bass 2", "Bass 1", "Tenor 2", "Tenor 1", "Alto 2", "Alto 1", "Soprano 2", "Soprano 1".

Author(s)

Documentation contributed by Kevin Wright.

Source

Chambers, J.M., W. S. Cleveland, B. Kleiner, and P. A. Tukey. (1983). Graphical Methods for Data Analysis. Chapman and Hall, New York.

References

Cleveland, William S. (1993) Visualizing Data. Hobart Press, Summit, New Jersey.

Examples

# Separate histogram for each voice part (Figure 1.2 from Cleveland)
histogram(~ height | voice.part,
data = singer,
aspect=1,
layout = c(2, 4), 
nint=15,
xlab = "Height (inches)")# Quantile-Quantile plot (Figure 2.11 from Cleveland)
qqmath(~ height | voice.part,
 data=singer,
 aspect=1, 
 layout=c(2,4),
 prepanel = prepanel.qqmathline,
 panel = function(x, ...) {
 panel.grid()
 panel.qqmathline(x, ...)
 panel.qqmath(x, ...)
 },
 xlab = "Unit Normal Quantile",
 ylab="Height (inches)")

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-lattice-singer.html" width="100%" height="100%" style="border:0px"></iframe>