powered by
plot()
ageHeaping()
plot() helper functions for ageHeaping() functions
# S3 method for ageHeaping plot(x, main = "", xlab = "Remainder", ylab = "Frequency", cex = 0.75, ...)
Barplot of frequency of remainders of age when divided by a specified divisor
Object resulting from applying the ageHeaping() function
Title of plot
x-axis label; default is Remainder
x-axis
Remainder
y-axis label; default is Frequency
y-axis
Frequency
Character expansion (numeric); default is 0.75
Additional plot() graphical parameters
# 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)
Run the code above in your browser using DataLab