Skip to contents

Plot likelihood profile

Usage

plot_likelihood(like_fit, group = "label")

Arguments

like_fit

List returned by the fims_likelihood() function with model fits for each step in a likelihood profile

group

Character string or vector of strings with columns to group by, e.g., "label" to group by data type, c("label", "fleet_name") to group by data type and fleet (although fleet_name is not currently in FIMS output).

Value

ggplot of likelihood profile

Examples

if (FALSE) { # \dontrun{
like_fit <- run_fims_likelihood(
 model = base_model,
 parameters = parameters,
 data = data1,
 n_cores = 3,
 min = -1,
 max = 1,
 length = 3
 )
plot_likelihood(like_fit)
} # }