Sparse Vectors for Use in Data Frames
Check for sparse elements
Compute lagged values for sparse vectors
Scalar arithmatic with sparse vectors
Vector arithmatic with sparse vectors
sparsevctrs options
sparsevctrs: Sparse Vectors for Use in Data Frames
Calculate sparsity of data frames, matrices, and sparse matrices
Sparse vector type checkers
Information extraction from sparse vectors
Which indices are Missing Values
Coerce sparse matrix to data frame with sparse columns
Coerce sparse data frame to sparse matrix
Coerce sparse matrix to tibble with sparse columns
Coerce numeric vector to sparse double
Create sparse character vector
Create sparse double vector
Generate sparse dummy variables
Create sparse integer vector
Detect Pressence of Missing Values
Create sparse logical vector
Calculate mean from sparse vectors
Calculate median from sparse vectors
Replace NAs with specified values in sparse vectors
Calculate standard diviation from sparse vectors
Calculate sqrt of sparse vectors
Calculate variance from sparse vectors
Provides sparse vectors powered by ALTREP (Alternative Representations for R Objects) that behave like regular vectors, and can thus be used in data frames. Also provides tools to convert between sparse matrices and data frames with sparse columns and functions to interact with sparse vectors.
Useful links