trunc_bugs {microbiomeDASim} | R Documentation |
Function for inducing truncation of outcome
trunc_bugs(Y, N, Mu, Sigma, zero_trunc)
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 |
Potentially truncated outcome vector Y