MatrixClass | R Documentation |
Return the (maybe super-)class
of class cl
from
package Matrix, returning character(0)
if there is none.
MatrixClass(cl, cld = getClassDef(cl), ...Matrix = TRUE,
dropVirtual = TRUE, ...)
cl |
string, class name |
cld |
its class definition |
...Matrix |
|
dropVirtual |
|
... |
further arguments are passed to
|
a character
string
Martin Maechler, 24 Mar 2009
Matrix
, the mother of all Matrix classes.
mkA <- setClass("A", contains="dgCMatrix")
(A <- mkA())
stopifnot(identical(
MatrixClass("A"),
"dgCMatrix"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.