print() helper functions for ageHeaping() functions
# S3 method for ageHeaping print(x, ...)
| x | Object resulting from applying the |
|---|---|
| ... | Additional |
Printed output of the ageHeaping() function
# Print age heaping test on SMART survey data in Kabul, Afghanistan (dp.ex02) # using a divisor of 12 svy <- dp.ex02 ah12 <- ageHeaping(svy$age) print(ah12)#> #> Age-heaping Analysis #> #> data: Remainder of svy$age / 12 #> X-squared = 214.9588, df = 11, p-value = 0.0000 #>