Learn R Programming

nipnTK (version 0.2.0)

print.digitPreference: print() helper function for digitPreference() function

Description

print() helper function for digitPreference() function

Usage

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

Value

Printed output of digitPreference() function

Arguments

x

Object resulting from applying the digitPreference() function.

...

Additional print() parameters

Examples

Run this code
# 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))

Run the code above in your browser using DataLab