output_package: Build output package from fit

View source: R/outputs.R

output_packageR Documentation

Build output package from fit

Description

Build output package from fit

Usage

output_package(naomi_fit, naomi_data, na.rm = FALSE)

Arguments

naomi_fit

Fitted naomi model

naomi_data

Naomi model frame with data

na.rm

Whether to remove NA values when calculating summary statistics, default FALSE

Details

The argument na.rm = TRUE allows the output package to be produced when there are errors due to missing values when generating outputs. This is only for debugging purposes to review results when there are errors. NA values in simulated model results typically mean poor model fit or non-convergence that needs to be addressed.

Value

List containing output indicators and metadata.


mrc-ide/naomi documentation built on May 6, 2024, 9:17 a.m.