checknames: Check for valid model terms in a qgcomp fit

View source: R/base_utility.R

checknamesR Documentation

Check for valid model terms in a qgcomp fit

Description

This is an internal function called by qgcomp, qgcomp.glm.boot, and qgcomp.glm.noboot, but is documented here for clarity. Generally, users will not need to call this function directly. This function tries to determine whether there are non-linear terms in the underlying model, which helps infer whether the appropriate function is called, and whether more explicit function calls are needed.

Usage

checknames(terms)

Arguments

terms

model terms from attr(terms(modelfunction, data), "term.labels")


qgcomp documentation built on Aug. 10, 2023, 5:07 p.m.