Inv_trans: Sample from the cyclic latent period using Brent method...

Description Usage Arguments Value References Examples

View source: R/RcppExports.R

Description

Inv_trans Generate a random draw from the distribution specified for the latent period.

Usage

1
Inv_trans(r, x_lo, x_hi, t, l, b, a)

Arguments

r

The initial value.

x_lo

A lower bound for the variable.

x_hi

The upper bound of the variable.

t

The current time: the exposure time.

l

A random variable in (0,1)

Value

It returns a random draw from the latent period given the time of exposure for the cyclic model.

References

\insertRef

DR18contactsimulator

Examples

1
Inv_trans(10,0,1000,10,runif(1))

holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.