hasWeights: Check if a model has (problematic) prior weights

View source: R/helper.R

hasWeightsR Documentation

Check if a model has (problematic) prior weights

Description

For n/k models, weights can either represent the number of trials or actual prior weights on the likelihood. This function distinguishes the two cases and returns TRUE if the model has prior weights that are not the number of trials.

Usage

hasWeights(fittedModel)

Arguments

fittedModel

a fitted model


DHARMa documentation built on Nov. 7, 2026, 5:08 p.m.