sanitize_model: (internal) Sanitize functions to check model and data within...

View source: R/sanitize.R

sanitize_modelR Documentation

(internal) Sanitize functions to check model and data within GLM model object

Description

Performs checks on a GLM model object to ensure it meets specific criteria required for further analysis using other functions from the beeca package.

This includes verifying the model's family, link function, data completeness and mode convergence.

Currently it supports models with a binomial family and canonical logit link.

Usage

sanitize_model(model, ...)

Arguments

model

a model object, currently only glm with binomial family canonical link is supported.

...

arguments passed to or from other methods.

Value

if model is non-compliant will throw warnings or errors.


beeca documentation built on April 3, 2025, 5:59 p.m.