surveytable-options {surveytable}R Documentation

Package options

Description

Run show_options() to see available options. Here is a description of some notable options.

Details

Low-precision estimates.

The argument for surveytable.lpe_n is a vector of the number of observations for each level of the variable.

The argument for surveytable.lpe_counts is a data frame with count-related estimates. Specifically, the data frame has the following variables:

The argument for surveytable.lpe_percents is a data frame with percent-related estimates. Specifically, the data frame has the following variables:

Each of these functions must return a list with the following elements:

For example, if a variable has 3 levels, flags might be c("", "A1 A2", ""). This indicates that for the first and third level, nothing was found, whereas for the second level, two different things were found, indicated by short codes A1 and A2. In this case, has.flag = c("A1", "A2"), descriptions = c(A1 = "A1: something", A2 = "A2: something else").

Author(s)

Maintainer: Alex Strashny AStrashny@cdc.gov (ORCID)

See Also

Useful links:

Other options: set_count_1k(), set_output(), set_survey(), show_options()


[Package surveytable version 0.9.4 Index]