Assigns signs to prior weights to obtain prior coefficients
.signdisc(y, X, prior, family, foldid = NULL, nfolds = 10, track = FALSE)target: vector of length \(n\) (see family)
features: matrix with \(n\) rows (samples) and \(p\) columns (features)
prior coefficients: matrix with \(p\) rows (features) and \(k\) columns (sources of co-data)
character "gaussian" (\(y\): real numbers), "binomial" (\(y\): 0s and 1s), or "poisson" (\(y\): non-negative integers);
fold identifiers: vector of length \(n\) with entries from 1 to `nfolds`
number of folds: positive integer
show intermediate output (messages and plots): logical