dot-optimalClass function

Perform Classification Step

Perform Classification Step

.optimalClass( moPropen, moMain, moCont, moClass, data, response, txName, iter, fSet, suppress, step )

Arguments

  • moPropen: model object(s) for propensity regression
  • moMain: model object(s) for main effects of outcome regression or NULL
  • moCont: model object(s) for contrasts of outcome regression or NULL
  • moClass: model object(s) for classification procedure
  • data: data.frame of covariates and treatment history
  • response: vector of responses
  • txName: character of column header of data containing tx
  • iter: maximum number of iterations for outcome regression or NULL
  • fSet: function defining subsets or NULL
  • suppress: T/F indicating screen printing preference
  • step: integer indicating step of algorithm

Returns

an object of class OptimalClass

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

Useful links