rzipois: Draw samples from a zero-inflated poisson distribution

View source: R/mvdistributions.R

rzipoisR Documentation

Draw samples from a zero-inflated poisson distribution

Description

Draw samples from a zero-inflated poisson distribution

Usage

rzipois(n, lambda, pstr0 = 0)

Arguments

n

the number of samples to draw

lambda

The poisson rate parameter

pstr0

probability of drawing a zero

Value

Poisson counts of length n


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