Skip to contents

print() helper function for digitPreference() function

Usage

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

Arguments

x

Object resulting from applying the digitPreference() function.

...

Additional print() parameters

Value

Printed output of digitPreference() function

Examples

# Print output of digit preference test applied to anthropometric data from a
#single state from a DHS survey in a West African country
svy <- dp.ex01
print(digitPreference(svy$wt, digits = 1))
#> 
#> 	Digit Preference Score
#> 
#> data:	svy$wt
#> Digit Preference Score (DPS) = 11.86 (Good)
#>