print() helper function for ageChildren() function
# S3 method for ageChildren print(x, ...)
| x | Object resulting from applying |
|---|---|
| ... | Additional |
Printed output of ageChildren() function
# Print 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) print(ac)#> #> Age Test (Children) #> #> X-squared = 21.4366, df = 4, p = 0.0003 #>