Description Usage Arguments Author(s) See Also
Creates a sgldata object from a design matrix and an optional response vector or matrix.
1 2 3 |
x |
the design matrix, a matrix of size N \times p (will be parsed to the loss module as |
y |
the responses, |
weights |
sample weights, a vector of length N (will be parsed to the loss module as |
sampleGrouping |
grouping of samples, a factor of length N (will be parsed to the loss module as |
group.names |
a vector with the names of the parameter groups (the length must equal the number of rows in the β matrix). |
sparseX |
if TRUE |
sparseY |
if TRUE |
Martin Vincent
Other sgldata: prepare.args.sgldata
;
prepare.args
;
rearrange.sgldata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.