Plot a profile likelihood ctsmTMB object
Usage
# S3 method for class 'ctsmTMB.profile'
plot(x, y, include.opt = TRUE, ...)
Arguments
- x
a profile.ctsmTMB object
- y
not in use
- include.opt
boolean which indicates whether or not to include the
total likelihood optimizer in the plot.
- ...
additional arguments
Examples
if (FALSE) { # \dontrun{
# Given a model fit produced by
fit <- model$estimate(Ornstein)
# We calculate the profile likelihood
prof <- profile(fit, parlist=list(theta=NULL))
# And then simply call plot on that object
plot(prof)
} # }