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

Description Usage Arguments Value

View source: R/mvdistributions.R

Description

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

Usage

1
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

munbs

Rate/mean parameter (instead of mu)

ps

probability of zeros (instead of mu)

ks

shape parameter

...

other arguments to the negative binomial distribution

Value

Dxn matrix with zi-poisson data


zdk123/codmeR documentation built on May 4, 2019, 10:14 p.m.