total_rate {surveytable} | R Documentation |
Overall rate
Description
Overall rate
Usage
total_rate(
pop,
per = getOption("surveytable.rate_per"),
csv = getOption("surveytable.csv")
)
Arguments
pop |
population |
per |
calculate rate per this many items in the population |
csv |
name of a CSV file |
Value
A table
See Also
Other tables:
tab()
,
tab_cross()
,
tab_rate()
,
tab_subset_rate()
,
total()
Examples
set_survey(namcs2019sv)
total_rate(uspop2019$total)
[Package surveytable version 0.9.4 Index]