FERTILIZE | R Documentation |
Plants' heights in inches obtained from two seeds, one obtained by cross fertilization and the other by auto fertilization, in two opposite but separate locations of a pot are recorded.
FERTILIZE
A data frame with 30 observations on the following 3 variables:
height
(height of plant in inches)
fertilization
(a factor with levels cross
and self
)
pot
(a factor with fifteen levels)
Darwin, C. 1876. The Effect of Cross and Self-Fertilization in the Vegetable Kingdom. D. Appleton and Company.
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
p <- ggplot(data = FERTILIZE, aes(x = height, color = fertilization)) p + geom_density() t.test(height ~ fertilization, data = FERTILIZE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.