read_panels | R Documentation |
spsurvey::grts()
Use a data frame of strata and point counts to build a design object for spsurvey::grts()
read_panels( dataframe, stratum_field = "stratum", panel_names = NULL, oversample_field = NULL, oversample_proportion = 0.25, oversample_min = 3 )
dataframe |
Data frame. This must have at least a variable for the strata identities and one variable for each panel, e.g. "Stratum", "Year1", "Year2", "Year3", where each row is a stratum and the number of points desired in each panel for that stratum. |
stratum_field |
Character string. This must exactly match the name of the variable in |
panel_names |
Optional vector of character strings. Necessary if the data frame given in |
oversample_field |
Optional character string. If used, this must exactly match the name of the variable in |
oversample_proportion |
Optional numeric value. If not providing an oversample point count in a variable specified by |
oversample_min |
Optional numeric value. If not providing an oversample point count in a variable specified by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.