Learn R Programming

distrom (version 1.0.2)

dmrcoef-class: Class "dmrcoef"

Description

The extended Matrix class for output from coef.dmr.

Arguments

Objects from the Class

Objects can be created only by a call to the coef.dmr function.

Slots

i:

From Matrix: the row indices.

p:

From Matrix: the column pointers.

Dim:

From Matrix: the dimensions.

Dimnames:

From Matrix: the list of labels.

x:

From Matrix: the nonzero entries.

factors:

From Matrix.

Extends

Class Matrix, directly.

Methods

predict

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).

Author

Matt Taddy mataddy@gmail.com

Details

This is the class for a covariate matrix from dmr regression; it inherits the Matrix 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.

See Also

dmr, coef.dmr, predict.dmr

Examples

Run this code
showClass("dmrcoef")

Run the code above in your browser using DataLab