powered by
FALSE
drop0(x, clx = c(class(x)))
sparseMatrix
class
getClassDef
classRepresentation<
x
!any(x@x == 0)
CsparseMatrix
spMatrix
m <- spMatrix(10,20, i= 1:8, j=2:9, x = c(0:2,3:-1)) m drop0(m)
Run the code above in your browser using DataLab