recp {ecpdist} | R Documentation |
Function to generate a pseudo-random sample
Description
Generate a pseudo-random sample, without censoring, from the extended Chen-Poisson (ecp) distribution.
Usage
recp(n, lambda, gamma, phi)
Arguments
n |
sample size. |
lambda , gamma |
parameter values > 0. |
phi |
parameter value != 0. |
Value
A vector of randomly generated numbers from the extended Chen-Poisson distribution.
Examples
recp(10,1,1,1) # random sample of size 10
[Package ecpdist version 0.2.1 Index]