Cast to Sparse
Convert dense objects to sparse representations
as.sparse(x, ...) ## S3 method for class 'data.frame' as.sparse(x, row.names = NULL, ...) ## S3 method for class 'Matrix' as.sparse(x, ...) ## S3 method for class 'matrix' as.sparse(x, ...)
x | 
 An object  | 
... | 
 Arguments passed to other methods  | 
row.names | 
 
  | 
A sparse representation of the input data
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.