powered by
ageChildren()
Plot helper function for ageChildren() function
# S3 method for ageChildren plot(x, ...)
Bar plot comparing table of observed counts vs table of expected counts
Object resulting from applying ageChildren() function
Additional barplot() graphical parameters
barplot()
# 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)
Run the code above in your browser using DataLab