resample_clusters: This is a function to help resemple clusters for bootstrap....

View source: R/resample_clusters.R

resample_clustersR Documentation

This is a function to help resemple clusters for bootstrap. It is adapted from the function "clusterboot" in the R package "fpc".

Description

This is a function to help resemple clusters for bootstrap. It is adapted from the function "clusterboot" in the R package "fpc".

Usage

resample_clusters(data, id = "id")

Arguments

data

A data frame containing the data

id

A string of the column name that contains the subject ID

Value

A data frame with the same structure as the input data, but with resampled clusters


LatencyA documentation built on Oct. 21, 2026, 5:14 p.m.