Learn R Programming

DynTxRegime (version 4.15)

LearningObject-methods: Methods Available for Objects of Class LearningObject

Description

Methods Available for Objects of Class LearningObject

Create LearningObject

Usage

# S4 method for LearningObject
.subsetObject(methodObject, subset)

# S4 method for numeric,LearningObject,Kernel .objFn(par, methodObject, kernel, lambda, ...)

# S4 method for numeric,LearningObject,Kernel .dobjFn(par, methodObject, kernel, lambda, ...)

# S4 method for LearningObject .valueFunc(methodObject, optTx, ...)

.createLearningObject( kernel, surrogate, mu, txVec, response, prWgt, guess = NULL, ... )

Value

A LearningObject object

Arguments

kernel

Kernel object

surrogate

Surrogate object indicating surrogate loss-function

mu

Matrix of predicted outcome on binary tx coding

txVec

Tx vector coded as -1/1

response

vector of response

prWgt

propensity wgt for tx received

guess

Vector of estimated regime parameters