prob_fun: Event Distribution

Description Usage Arguments Value Examples

View source: R/prob_fun.R

Description

!!!!!!!!!!!!! shall not be exported !!!!!!!!!!!!!!!!!!!

Usage

1
prob_fun(r, lambda, sigma = 1, gamma, kappa = 1)

Arguments

r

vector of recruitment timepoints.

lambda, sigma

scale and shape parameters for the survival process, the latter defaulting to 1, resulting in an exponential distribution.

gamma, kappa

scale and shape parameters fot the censor process, the latter defaulting to 1, resulting in an exponential distribution.

Value

Examples

1
2
prob_fun(r=1:10,.014,sigma=1,.009,kappa=1)
prob_fun(r=c(1:10),.014,sigma=1,.009,kappa=1)

Knusprikus/BSSRed documentation built on July 6, 2020, 11:02 p.m.