turtle {npsm} | R Documentation |
Turtle Data
Description
A data frame containg measurements of 48 turtles. The first three columns are the Length, Width, and Height measurements of the carapace of the turtle. The fourth column is a categorical variable sex with values of female and male. Data are drawn from Johnson and Wichern (2007).
Usage
data(turtle)
Format
48 observations on four variables.
- Length
numeric vector.
- Width
numeric vector.
- Height
numeric vector.
- sex
character vector.
References
Johnson, R.A. and Wichern, D.W. (2007), Applied Multivariate Statistical Analysis, 6th ed., Upper Saddle River, NJ: Pearson.
Examples
with(turtle,boxplot(Length~sex))
with(turtle,boxplot(Length~sex,ylab='Length (units)'))
[Package npsm version 2.0.0 Index]