- y
a (glm) response vector, usually continuous, binomial or count data.
- x_signal
a matrix of continuous regressor with nrow(x_signal) == length(y)
, often
a discrete digitization of a signal or histogram or time series.
- x_index
a vector to of length ncol(x_signal) == p
, associated with the
ordering index of the signal. Default is 1:ncol(x_signal)
.
- nseg
the number of evenly spaced segments between xl
and xr
(default 10).
- bdeg
the degree of the basis, usually 1, 2, or 3 (defalult).
- pord
the order of the difference penalty, usually 1, 2, or 3 (defalult).
- lambda
the (positive) tuning parameter for the penalty (default 1).
- wts
the weight vector of length(y)
; default is 1.
- family
the response distribution, e.g.
"gaussian", "binomial", "poisson", "Gamma"
distribution; quotes are needed. Default is "gaussian"
.
- link
the link function, one of "identity"
, "log"
, "sqrt"
,
"logit"
, "probit"
, "cloglog"
, "loglog"
, "reciprocal"
;
quotes are needed (default "identity"
).
- m_binomial
a vector of binomial trials having length(y); default is 1 vector for family = "binomial"
, NULL otherwise.
- r_gamma
a vector of gamma shape parameters. Default is 1 vector for family = "Gamma"
, NULL otherwise.
- y_predicted
a vector of responses associated
with x_predicted
which are used to calculate standard error of external prediction. Default is NULL.
- x_predicted
a matrix of external signals to yield external prediction.
- ridge_adj
A ridge penalty tuning parameter, which can be set to small value, e.g. 1e-8
to stabilize estimation, (default 0).
- int
set to TRUE or FALSE to include intercept term in linear predictor (default TRUE).