add_cov {psborrow}R 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


[Package psborrow version 0.2.3 Index]