plot.ageHeaping | R Documentation |
plot()
helper functions for ageHeaping()
functionsplot()
helper functions for ageHeaping()
functions
## S3 method for class 'ageHeaping'
plot(x, main = "", xlab = "Remainder", ylab = "Frequency", cex = 0.75, ...)
x |
Object resulting from applying the |
main |
Title of plot |
xlab |
|
ylab |
|
cex |
Character expansion (numeric); default is 0.75 |
... |
Additional |
Barplot of frequency of remainders of age when divided by a specified divisor
# Plot age heaping test results on SMART survey data in Kabul, Afghanistan
# (dp.ex02) using a divisor of 12
svy <- dp.ex02
ah12 <- ageHeaping(svy$age)
plot(ah12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.