Description Usage Format Examples
This is a simulated data set of child growth curves from 4 to 12 years of age. This utilizes the a United States CDC data of growth curves to sample from using the 'childsds' package.
1 |
A data frame with growth curves from 10 male and 10 females.
A unique identify for each child.
The sex for each child.
The child's age at the observation.
The child's height in centimeters.
1 2 3 4 5 | library(ggplot2)
ggplot(ChildGrowth, aes(x=age, y=height)) +
geom_point() +
geom_line(aes(group=childID)) +
facet_grid(.~sex)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.