flag_model: Flag potentially problematic model fits

View source: R/flag_model.R

flag_modelR Documentation

Flag potentially problematic model fits

Description

Flags bottles with poor convergence, low R-squared values and parameter-boundary issues.

Usage

flag_model(fit, r2_threshold = 0.9)

Arguments

fit

A fitted model object.

r2_threshold

Minimum acceptable R-squared.

Value

Diagnostic table with QC flags.


rumenGP documentation built on Oct. 2, 2026, 5:09 p.m.