resample_df | R Documentation |
This function allows you to resample a dataframe for analysis.
resample_df(data, n = 1000, cluster = NULL, weights = NULL)
data |
Dataframe with variables to be resampled |
n |
Number of resamples to generate. |
cluster |
Formula specifying the variable in data that identifies clusters within the data. |
weights |
Vector of weights to use. |
resample_df(data, n = 2000, cluster = ~ cluster, weights = data$.weights)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.