
Last chance! 50% off unlimited learning
Sale ends in
nMatrix
class is the virtual lMatrix
,
nsparseMatrix
, and the mother class,
Matrix
.getClass("nMatrix")
L3 <- Matrix(upper.tri(diag(3)))
L3 # an "ltCMatrix"
as(L3, "nMatrix") # -> ntC*
## similar, not using Matrix()
as(upper.tri(diag(3)), "nMatrix")# currently "ngTMatrix"
Run the code above in your browser using DataLab