powered by
Overall rate
total_rate( pop, per = getOption("surveytable.rate_per"), csv = getOption("surveytable.csv") )
A table
population
calculate rate per this many items in the population
name of a CSV file
Other tables: tab(), tab_cross(), tab_rate(), tab_subset_rate(), total()
tab()
tab_cross()
tab_rate()
tab_subset_rate()
total()
set_survey(namcs2019sv) total_rate(uspop2019$total)
Run the code above in your browser using DataLab