View source: R/strata_options.R
strata_options | R Documentation |
Returns a list of user-supplied parameters and parameter values for strata.
strata_options(
getwt = FALSE,
getwtvar = "P1POINTCNT",
strwtvar = "strwt",
stratcombine = TRUE,
minplotnum.strat = 2,
pivot = FALSE,
nonresp = FALSE,
...
)
getwt |
Logical. If TRUE, calculates strata weights from stratatlut getwtvar. If FALSE, strwtvar variable must be in stratalut. |
getwtvar |
String. If getwt=TRUE, name of variable in stratalut to calculate weights (Default = 'P1POINTCNT'). |
strwtvar |
String. If getwt=FALSE, name of variable in stratalut with calculated weights (Default = 'strwt'). |
stratcombine |
Logical. If TRUE, and strata=TRUE, automatically combines strata categories if less than minplotnum.strat plots in any one stratum. See notes for more info. |
minplotnum.strat |
Integer. Minimum number of plots for a stratum within an estimation unit. |
pivot |
Logical. If TRUE, pivot stratalut. |
nonresp |
Deprecated. |
... |
For extendibility. |
If no parameters, an empty list is returned.
A list of user-supplied parameters and parameter values for strata.
Grayson W. White
strata_options(getwt = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.