sample_covariates: Sample covariate data

Description Usage Arguments Value

View source: R/data_generation_utils.R

Description

Sample covariate data

Usage

1
sample_covariates(sample_size, n_covariates, n_normal, cov_mat = NULL)

Arguments

sample_size

integer specifying the sample size

n_covariates

integer specifying the number of covariates

n_normal

integer specifying the number of normal covariates (must be <= n_convariates)

cov_mat

correlation matrix

Value

a tibble data frame of size sample_size x n_covariates


annloh/austin2011 documentation built on Aug. 22, 2020, 12:13 a.m.