Learn R Programming

PASWR2 (version 1.0.5)

FERTILIZE: Cross and Auto Fertilization

Description

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.

Usage

FERTILIZE

Arguments

Format

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)

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

Run this code
# NOT RUN {
p <- ggplot(data = FERTILIZE, aes(x = height, color = fertilization))
p + geom_density()
t.test(height ~ fertilization, data = FERTILIZE)
# }

Run the code above in your browser using DataLab