triplet {spam} | R Documentation |
Returns a list containing the indices and elements of a spam
object.
triplet(x)
x |
sparse matrix of class spam or a matrix. |
The elements are row (column) first if x
is a spam
object (matrix).
A list with elements
indices |
a matrix containing the indices |
elements |
a vector containing the elements |
Reinhard Furrer
spam.list
for the inverse operation and
foreign
for other transformations.
triplet(diag.spam(4))