Description Usage Format Source References Examples
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.
1 |
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.
1 2 3 |
Loading required package: lattice
Loading required package: ggplot2
Welch Two Sample t-test
data: height by fertilization
t = 2.4371, df = 22.164, p-value = 0.02328
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
0.3909566 4.8423767
sample estimates:
mean in group cross mean in group self
20.19167 17.57500
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.