Learn R Programming

wsMed (version 1.0.2)

bootstrap_sd_list: Bootstrap Standard Deviations for Standardization

Description

Performs bootstrap sampling to estimate SDs of variables used in standardization.

Usage

bootstrap_sd_list(data, var_names, nboot = 20000, seed = NULL)

Value

A named list of numeric vectors (bootstrapped SD samples).

Arguments

data

A data frame.

var_names

A character vector of variable names.

nboot

Integer. Number of bootstrap samples.

seed

Integer. Random seed.