full: Add the data frame showing x, mean, sd as well as the fx and derivatives
Returns
data frame with fx for the pdf value of with dMean and dSd that has the derivatives with respect to the parameters at the observation time-point
Details
In an rxode2() model, you can use llikNorm() but you have to use all arguments. You can also get the derivatives with llikNormDmean() and llikNormDsd()
Examples
llikNorm(0)llikNorm(seq(-2,2,length.out=10), full=TRUE)# With rxode2 you can use:et <- et(-3,3, length.out=10)et$mu <-0et$sigma <-1model <-function(){ model({ fx <- llikNorm(time, mu, sigma) dMean <- llikNormDmean(time, mu, sigma) dSd <- llikNormDsd(time, mu, sigma)})}ret <- rxSolve(model, et)ret