Function for computing loglikelihood conditional on the estimated random effects from the data and specified parameter estimates of a PHMM.
1  phmm.cond.loglik(time, delta, z, beta, w, b)

time 
Followup time (right censored data). 
delta 
The status indicator (0=alive, 1=dead; or

z 
Numeric matrix ( 
beta 
Fitted fixed effects coefficients
( 
w 
Numeric matrix ( 
b 
Numeric matrix ( 
The PHMM loglikelihood conditional on the estimated random effects.
phmm
, loglik.cond
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.