rctp: Random Generation from the CTP Distribution

View source: R/rctp.R

rctpR Documentation

Random Generation from the CTP Distribution

Description

Random Generation from the CTP Distribution

Usage

rctp(n, a, b, gama)

Arguments

n

Number of observations.

a

Parameter a.

b

Parameter b.

gama

Parameter gamma.

Value

Integer vector of random draws.

Examples

set.seed(123)
rctp(10, a = 1, b = 0.5, gama = 6)

zmctp documentation built on Sept. 20, 2026, 5:07 p.m.