Learn R Programming

DynTxRegime (version 4.15)

.newBOWL,NULL-method: Create a BOWL Object for First Step of BOWL Algorithm

Description

Create a BOWL Object for First Step of BOWL Algorithm

Usage

# S4 method for `NULL`
.newBOWL(
  BOWLObj,
  moPropen,
  fSet,
  data,
  response,
  txName,
  lambdas,
  cvFolds,
  kernel,
  surrogate,
  suppress,
  guess,
  ...
)

# S4 method for BOWL .newBOWL( BOWLObj, moPropen, fSet, data, response, txName, lambdas, cvFolds, kernel, surrogate, suppress, guess, ... )

Arguments

BOWLObj

NULL or an object returned from a previous step

moPropen

modelObj or modelObjSubset for propensity modeling

fSet

optional function defining subsets for modeling

data

data.frame of covariates

response

response

txName

treatment variable column header in data

lambdas

tuning parameter(s)

cvFolds

number of cross-validation folds

kernel

Kernel object

surrogate

Surrogate object

suppress

T/F indicating if prints to screen are to be executed

guess

Starting values for optimization