Skip to contents

print() helper functions for ageHeaping() functions

Usage

# S3 method for ageHeaping
print(x, ...)

Arguments

x

Object resulting from applying the ageHeaping() function

...

Additional print() arguments

Value

Printed output of the ageHeaping() function

Examples

# 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
#>