trunc_bugs {microbiomeDASim} | R Documentation

## Function for inducing truncation of outcome

### Description

Function for inducing truncation of outcome

### Usage

    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

[Package microbiomeDASim version 1.1.7 Index]