sanitize_variable: (internal) Sanitize function to check model and data

View source: R/sanitize.R

sanitize_variableR Documentation

(internal) Sanitize function to check model and data

Description

(internal) Sanitize function to check model and data

Usage

sanitize_variable(model, trt)

Arguments

model

an glm model object.

trt

the name of the treatment variable on the right-hand side of the glm formula.

Value

if model and variable are non-compliant, will throw warnings or error.


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