sanitize_variable {beeca}R 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.


[Package beeca version 0.2.0 Index]