Learn R Programming

corregp (version 2.0.2)

HairEye: Hair and Eye Color of Statistics Students (Data Frame)

Description

The distribution of hair color, eye color and sex among 592 statistics students (from Snee 1974 and Friendly 1992).

Arguments

Format

A data frame with 592 rows and 3 variables.

Examples

Run this code
# NOT RUN {
data(HairEye)
haireye.crg <- corregp(Eye ~ Hair * Sex, data = HairEye, b = 3000)
haireye.crg
summary(haireye.crg, parm = "b", add_ci = TRUE)
screeplot(haireye.crg, add_ci = TRUE)
anova(haireye.crg, nf = 2)
plot(haireye.crg, x_ell = TRUE, xsub = c("Hair", "Sex"))
# }

Run the code above in your browser using DataLab