cond_exp: 'cond_exp' helper function

View source: R/example_exp.R

cond_expR Documentation

cond_exp helper function

Description

'cond_exp' computes the inner integral in () wrt the observed coordinate r for a given the latent coordinate l. This is a helper function for P_exp and should not be used independently.

Usage

cond_exp(l, r_breaks, rate)

Arguments

l

the given value of the latent variable

r_breaks

a (n+1) vector defining a partition of the interval R into n sets

rate

the rate of the exponential distribution

Value

an n vector whose i^th entry is P_ij as defined above.


PeteyCoco/ppdeconv documentation built on March 21, 2022, 5:35 a.m.