ChildGrowth: Child Growth Dataset

Description Usage Format Examples

Description

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.

Usage

1

Format

A data frame with growth curves from 10 male and 10 females.

childID

A unique identify for each child.

sex

The sex for each child.

age

The child's age at the observation.

height

The child's height in centimeters.

Examples

1
2
3
4
5
library(ggplot2)
ggplot(ChildGrowth, aes(x=age, y=height)) +
  geom_point() +
  geom_line(aes(group=childID)) +
  facet_grid(.~sex)

dereksonderegger/dsData documentation built on Nov. 22, 2020, 5:15 p.m.