trunc_bugs: Function for inducing truncation of outcome

Description Usage Arguments Value

View source: R/mvrnorm_sim.R

Description

Function for inducing truncation of outcome

Usage

1
trunc_bugs(Y, N, Mu, Sigma, zero_trunc)

Arguments

Y

The original N x 1 vector of simulated multivariate outcomes

N

Total number of observations equal to sum of repeated measurements for all individuals

Mu

N x 1 vector representing the mean values

Sigma

N x N numeric matrix representing the covariance matrix for the feature

zero_trunc

Logical indicator whether to perform zero-truncation

Value

Potentially truncated outcome vector Y


microbiomeDASim documentation built on Nov. 8, 2020, 10:58 p.m.