turtle | R Documentation |
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).
data(turtle)
48 observations on four variables.
numeric vector.
numeric vector.
numeric vector.
character vector.
Johnson, R.A. and Wichern, D.W. (2007), Applied Multivariate Statistical Analysis, 6th ed., Upper Saddle River, NJ: Pearson.
with(turtle,boxplot(Length~sex))
with(turtle,boxplot(Length~sex,ylab='Length (units)'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.