plot.ageChildren: Plot helper function for 'ageChildren()' function

View source: R/ageChildren.R

plot.ageChildrenR Documentation

Plot helper function for ageChildren() function

Description

Plot helper function for ageChildren() function

Usage

## S3 method for class 'ageChildren'
plot(x, ...)

Arguments

x

Object resulting from applying ageChildren() function

...

Additional barplot() graphical parameters

Value

Bar plot comparing table of observed counts vs table of expected counts

Examples

# Plot Chi-Squared test for age of children in dp.ex02 sample dataset using
# an u5mr of 1 / 10,000 / day.
svy <- dp.ex02
ac <- ageChildren(svy$age, u5mr = 1)
plot(ac)


ernestguevarra/nipnTK documentation built on April 13, 2024, 1:48 p.m.