add_cov: Simulate covariates with a multivariate normal distribution
Description
Simulate covariates with a multivariate normal distribution
Usage
add_cov(dt, covObj, seed)
Value
a matrix containing simulated covariates information
Arguments
- dt
a matrix generated in set_n
- covObj
an object of class .covClass generated in set_cov
- seed
the seed of R‘s random number generator. Default is the first element of .Random.seed