View source: R/resample_clusters.R
| resample_clusters | R Documentation |
This is a function to help resemple clusters for bootstrap. It is adapted from the function "clusterboot" in the R package "fpc".
resample_clusters(data, id = "id")
data |
A data frame containing the data |
id |
A string of the column name that contains the subject ID |
A data frame with the same structure as the input data, but with resampled clusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.