Internal functions
calibrate.Rd
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 \(n\) (see
family
)- X
features: matrix with \(n\) rows (samples) and \(p\) columns (features)
- prior
prior coefficients: matrix with \(p\) rows (features) and \(k\) columns (sources of co-data)
- family
character "gaussian" (\(y\): real numbers), "binomial" (\(y\): 0s and 1s), or "poisson" (\(y\): non-negative integers);
- 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 bytransreg
ifscale="exp"
.iso.multiple()
: called bytransreg
ifscale="iso"
.iso.fast.single()
: called bytransreg
ifscale="iso"
(via.iso.multiple
).iso.slow.single()
: replaced by.iso.fast.single
See also
Use transreg()
for model fitting.