dmrcoef-class | R Documentation |
"dmrcoef"
The extended dgCMatrix
class for output from coef.dmr
.
This is the class for a covariate matrix from dmr
regression; it inherits the dgCMatrix
class as defined in the Matrix
library.
In particular, this is the ncol(covars)
by ncol(counts)
matrix of logistic regression coefficients chosen in coef.dmr
from the regularization paths for each category.
Objects can be created only by a call to the coef.dmr
function.
i
:From dgCMatrix
: the row indices.
p
:From dgCMatrix
: the column pointers.
Dim
:From dgCMatrix
: the dimensions.
Dimnames
:From dgCMatrix
: the list of labels.
x
:From dgCMatrix
: the nonzero entries.
factors
:From dgCMatrix
.
Class dgCMatrix
, directly.
signature(object = "dmrcoef")
:
Prediction for a given dmrcoef
matrix. Takes the same arguments as predict.dmr
, but will be faster (since coef.dmr
is called inside predict.dmr
).
Matt Taddy mataddy@gmail.com
dmr, coef.dmr, predict.dmr
showClass("dmrcoef")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.