Learn R Programming

DynTxRegime (version 4.15)

SmoothRampSurrogate-methods: Methods Available for Objects of Class SmoothRampSurrogate

Description

Methods Available for Objects of Class SmoothRampSurrogate

.phiFunc calculates smoothed ramp surrogate loss-function

.dphiFunc calculates derivative of smoothed ramp surrogate loss-function

Usage

# S4 method for SmoothRampSurrogate
.phiFunc(surrogate, u, res)

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

Arguments