Perform a Step of the Q-Learning Algorithm
Method performs all necessary regression and predictions steps for a single step of the Q-learning algorithm.
.newQLearn(response, ...) ## S4 method for signature 'vector' .newQLearn(moMain, moCont, fSet, response, data, txName, iter, suppress) ## S4 method for signature 'QLearn' .newQLearn(moMain, moCont, fSet, response, data, txName, iter, suppress)
response
: a vector or the value object returned by a prior call to qlearn()moMain
: modeling object specifying the main effects component of the outcome modelmoCont
: modeling object specifying the contrasts component of the outcome modelfSet
: function defining the feasible tx subsetsdata
: data.frame of covariates and tx receivedtxName
: character name of tx variable in dataiter
: the maximum number of iterations in the iterative algorithmsuppress
: logical indicating user's screen printing preferencean object of class QLearn.
Useful links