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
(seefamily
)- X
features: matrix with
rows (samples) and columns (features)- prior
prior coefficients: matrix with
rows (features) and columns (sources of co-data)- family
character "gaussian" (
: real numbers), "binomial" ( : 0s and 1s), or "poisson" ( : 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