
Last chance! 50% off unlimited learning
Sale ends in
dMatrix
class is a virtual class contained by all actual
classes of numeric matrices in the lMatrix
class.nMatrix
,
and the numeric matrix classes dgeMatrix
,
dgCMatrix
, and Matrix
.showClass("dMatrix")
set.seed(101)
round(Matrix(rnorm(28), 4,7), 2)
(M <- zapsmall(Matrix(rlnorm(56, sd=10), 4,14)))
table(as.logical(M == 0))
Run the code above in your browser using DataLab