powered by
Random sample of wool production in thousands of kilograms on 5 different days at two different locations
WOOL
A data frame with 30 observations on the following 2 variables:
production (wool production in thousands of kilograms)
production
location (a factor with levels textileA and textileB.)
location
textileA
textileB
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
# NOT RUN { ggplot(data = WOOL, aes(location, production, fill = location)) + geom_boxplot() + guides(fill = "none") + scale_fill_brewer() t.test(production ~ location, data = WOOL) # }
Run the code above in your browser using DataLab