total_rate {surveytable} | R Documentation |
Overall rate
total_rate(
pop,
per = getOption("surveytable.rate_per"),
csv = getOption("surveytable.csv")
)
pop |
population |
per |
calculate rate per this many items in the population |
csv |
name of a CSV file |
A table
Other tables:
tab()
,
tab_cross()
,
tab_rate()
,
tab_subset_rate()
,
total()
set_survey(namcs2019sv)
total_rate(uspop2019$total)