add_cov: Simulate covariates with a multivariate normal distribution

View source: R/add_cov.R

add_covR Documentation

Simulate covariates with a multivariate normal distribution

Description

Simulate covariates with a multivariate normal distribution

Usage

add_cov(dt, covObj, seed)

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

Value

a matrix containing simulated covariates information


psborrow documentation built on March 7, 2023, 8:32 p.m.