Learn R Programming

campsis (version 1.9.0)

sample_covariates_list: Sample covariates list.

Description

Sample covariates list.

Usage

sample_covariates_list(covariates, ids_within_arm, subset)

Value

a dataframe of n rows, 1 column per covariate

Arguments

covariates

list of covariates to sample

ids_within_arm

ids within the current arm being sampled

subset

take subset of original values because export is parallelised