Description Usage Arguments Value
View source: R/data_generation_utils.R
Sample covariate data
1 | sample_covariates(sample_size, n_covariates, n_normal, cov_mat = NULL)
|
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 |
a tibble data frame of size sample_size
x n_covariates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.