cond_exp | R Documentation |
cond_exp
helper function'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.
cond_exp(l, r_breaks, rate)
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 |
an n vector whose i^th entry is P_ij as defined above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.