rmvnegbin: Generate multivariate, Zero-inflated negative binomial data,...

View source: R/mvdistributions.R

rmvnegbinR Documentation

Generate multivariate, Zero-inflated negative binomial data, with counts approximately correlated according to Sigma

Description

Generate multivariate, Zero-inflated negative binomial data, with counts approximately correlated according to Sigma

Usage

rmvnegbin(n, mu, Sigma, ks, ...)

Arguments

n

number of samples to draw

mu

mean vector for variables (of length D)

Sigma

DxD covariance or correlation matrix

ks

shape parameter

...

other arguments to the negative binomial distribution

Value

Dxn matrix with zi-poisson data


zdk123/SpiecEasi documentation built on Oct. 20, 2023, 6:49 a.m.