Description Usage Arguments Value
given a fitted mortalityModel, plot the profile of the log-likelihood function for a given pair of parameters. this can take a while if the likelihood takes a while to evaluate and/or the resolution is chosen to be large
| 1 2 | plot.ll.prof(fit, theta.idx = c(1:2), delta = 0.1, res = 200,
  heatmap = FALSE)
 | 
| fit | a mortalityFit object | 
| theta.idx | vector with the indexes of the two parameters to plot against each other; for example, in a four-parameter model, to examine the profile of the likelihood as parameters one and three vary, pass in theta.idx=c(1,3) | 
| delta | window around the fitted max to profile. if delta is 0.1, then plot values for (0.9*max, 1.1*max), where max is the fitted maximum parameter value | 
| res | the resolution, or size of the grid on which the likelihood is evaluated. large grids may take a long time | 
| heatmap | if TRUE, return a heatmap for each pair of parameters; otherwise, return a contour plot | 
a ggplot2 plots of the profile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.