rzexp: Simulate from a zero-inflated exponential distribution

Description Usage Arguments Value

View source: R/misc_distributions.R

Description

Zero-inflated exponential distribution

Usage

1
rzexp(n, rate = 1, zero_weight = 0)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

rate

vector of rates

zero_weight

probability of drawing a 0

Value

Numeric vector of length n


CshlSiepelLab/nascentRNASim documentation built on Dec. 17, 2021, 3:08 p.m.