Learn R Programming

DynTxRegime (version 4.15)

SqHingeSurrogate-methods: Methods Available for Objects of Class SqHingeSurrogate

Description

Methods Available for Objects of Class SqHingeSurrogate

.phiFunc calculates squared hinge surrogate loss-function

.dphiFunc calculates derivative of squared hinge surrogate loss-function

Usage

# S4 method for SqHingeSurrogate
.phiFunc(surrogate, u)

# S4 method for SqHingeSurrogate .dPhiFunc(surrogate, u, du)

Arguments