calibrate {transreg} | R Documentation |
Internal functions
Description
Internal functions called by [transreg()], depending on choice between exponential and isotonic calibration.
Usage
.exp.multiple(
y,
X,
prior,
family,
switch = FALSE,
select = TRUE,
track = FALSE
)
.iso.multiple(
y,
X,
prior,
family,
switch = FALSE,
select = TRUE,
track = FALSE
)
.iso.fast.single(y, X, prior, family)
.iso.slow.single(y, X, prior, family)
Arguments
y |
target: vector of length |
X |
features: matrix with |
prior |
prior coefficients: matrix with |
family |
character "gaussian" ( |
switch |
choose between positive and negative weights for each source: logical |
select |
select from sources: logical |
track |
show intermediate output (messages and plots): logical |
Functions
-
.exp.multiple()
: called by 'transreg' if 'scale="exp"' -
.iso.multiple()
: called by 'transreg' if 'scale="iso"' -
.iso.fast.single()
: called by 'transreg' if 'scale="iso"' (via '.iso.multiple') -
.iso.slow.single()
: replaced by '.iso.fast.single'
See Also
Use [transreg()] for model fitting.