newEARL function

Complete an EARL Analysis

Complete an EARL Analysis

.newEARL( moPropen, moMain, moCont, data, response, txName, lambdas, cvFolds, surrogate, iter, guess, kernel, fSet, suppress, ... )

Arguments

  • moPropen: modelObj for propensity modeling
  • moMain: modelObj for main effects of outcome model
  • moCont: modelObj for contrasts of outcome model
  • data: data.frame of covariates
  • response: Vector of responses
  • txName: Tx variable column header in data
  • lambdas: Tuning parameter(s)
  • cvFolds: Number of cross-validation folds
  • surrogate: Surrogate object
  • iter: Maximum iterations for outcome regression
  • guess: optional numeric vector providing starting values for optimization methods
  • kernel: Kernel object or SubsetList
  • fSet: NULL or function defining subset rules
  • suppress: T/F indicating if prints to screen are executed
  • ...: Additional inputs for optimization

Returns

An EARL object

  • Maintainer: Shannon T. Holloway
  • License: GPL-2
  • Last published: 2023-11-24

Useful links