rmvzipois: Generate multivariate, Zero-inflated poisson data, with...

View source: R/mvdistributions.R

rmvzipoisR Documentation

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

Description

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

Usage

rmvzipois(n, mu, Sigma = diag(length(mu)), lambdas, ps, ...)

Arguments

n

number of samples to draw

mu

mean vector for variables (of length D)

Sigma

DxD covariance or correlation matrix

lambdas

supply rate parameter (instead of mu)

ps

probability of zeros (instead of mu)

...

arguments passed to VGAM::qzipois

Value

Dxn matrix with zi-poisson data


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