Skip to contents

This function extracts likelihood values from a list of models and formats them into a structured data frame.

Usage

.get_like_df(M)

Arguments

M

A list of models where each model contains likelihood components.

Value

A data frame containing the likelihood components, model name, natural mortality value (M), and negative log likelihood (NLL) for each model in the list.

Examples

# Assuming 'model_list' is a list of models with the appropriate structure
# likelihood_df <- .get_like_df(model_list)