rmvzinegbin: Generate multivariate, negative binomial data, with counts...

View source: R/mvdistributions.R

rmvzinegbinR Documentation

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

Description

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

Usage

rmvzinegbin(n, mu, Sigma, munbs, ks, ps, ...)

Arguments

n

number of samples to draw

mu

mean vector for variables (of length D)

Sigma

DxD covariance or correlation matrix

munbs

Rate/mean parameter (instead of mu)

ks

shape parameter

ps

probability of zero inflation

...

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.