rmvpois: Generate multivariate poisson data, with counts approximately...

Description Usage Arguments Value

View source: R/sparCC.R

Description

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

Usage

1
rmvpois(n, mu, Sigma, ...)

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)

Value

Dxn matrix with zi-poisson data


julieklessner/cornetwork documentation built on May 20, 2019, 4:22 a.m.