.signdisc {transreg}R Documentation

Sign discovery

Description

Assigns signs to prior weights to obtain prior coefficients

Usage

.signdisc(y, X, prior, family, foldid = NULL, nfolds = 10, track = FALSE)

Arguments

y

target: vector of length nn (see family)

X

features: matrix with nn rows (samples) and pp columns (features)

prior

prior coefficients: matrix with pp rows (features) and kk columns (sources of co-data)

family

character "gaussian" (yy: real numbers), "binomial" (yy: 0s and 1s), or "poisson" (yy: non-negative integers);

foldid

fold identifiers: vector of length nn with entries from 1 to nfolds

nfolds

number of folds: positive integer

track

show intermediate output (messages and plots): logical


[Package transreg version 1.0.2 Index]