plot.ll.prof.all: plot likelihood profile for all parameters

Description Usage Arguments Value

View source: R/library.R

Description

given a fitted mortalityModel, plot the profile of the log-likelihood function for all pairs of parameters. this can take a while if there are many parameters

Usage

1
2
plot.ll.prof.all(fit, delta = 0.1, res = 100, heatmap = FALSE,
  show = FALSE, ...)

Arguments

fit

a mortalityFit object

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

show

if TRUE, actually plot the list of plots (as a side effect), in addition to returning it

...

other arguments TODO

Value

a list whose entries contain ggplot2 plots of the profiles


dfeehan/mortfit documentation built on Nov. 14, 2020, 9:04 p.m.