powered by
Data for Statistical Insight Chapter 8
Inmate
A data frame with 3 observations on the following 5 variables.
Race
a factor with levels black hispanic white
black
hispanic
white
heroin
a numeric vector
crack
cocaine
marijuan
# NOT RUN { str(Inmate) attach(Inmate) Inmate chisq.test(Inmate[,2:5]) detach(Inmate) # }
Run the code above in your browser using DataLab