add_dummy: Additional logical Predictor

View source: R/add_dummy.R

add_dummyR Documentation

Additional logical Predictor

Description

Additional logical Predictor

Usage

add_dummy(
  start.model,
  x,
  data = eval(start.model$call$data),
  mc.cores = getOption("mc.cores"),
  ...
)

Arguments

start.model

a regression model, e.g., lm, glm, or coxph, etc.

x

one-sided formula, numeric predictors x's as the columns of one matrix column in data

data

(optional) data.frame in the model call of start.model

mc.cores

integer scalar, see function mclapply

Value

Function add_dummy() returns an object of class 'add_dummy'.


maxEff documentation built on Nov. 5, 2025, 7:30 p.m.