Description Usage Arguments Details Value
handle the total.popn.size argument in a uniform way across
several functions, including
kp.degree.estimator
,
nsum.internal.validation
, and
nsum.estimator
.
1 | parse.total.popn.size(total.popn.size, survey.data, verbose = FALSE)
|
total.popn.size |
value to parse |
survey.data |
the dataframe we're analyzing, which may or may not have an attribute called 'total.popn.size' |
verbose |
if TRUE, print messages to the screen |
The result depends upon the value that was passed in:
NA if total.popn.size is NA then work with proportions
NULL if total.popn.size is NULL (nothing passed in), then assume that there's a total.popn.size attribute associated with the dataset we're using
numerical value if an actual total.popn.size was passed in,
the parsed total population size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.