Learn R Programming

corregp (version 0.1.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.

source

This is simply a data frame version of the in-built data set HairEyeColor.

Examples

Run this code
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)
plot(haireye.crg, x_ell = TRUE, xsub = c("Hair", "Sex"))

Run the code above in your browser using DataLab