powered by
Convert dense objects to sparse representations
as.sparse(x, ...)# S3 method for data.frame as.sparse(x, ...)# S3 method for Matrix as.sparse(x, ...)# S3 method for matrix as.sparse(x, ...)
# S3 method for data.frame as.sparse(x, ...)
# S3 method for Matrix as.sparse(x, ...)
# S3 method for matrix as.sparse(x, ...)
An object
Arguments passed to other methods
A sparse representation of the input data