Package: sparsevctrs 0.1.0.9000

Emil Hvitfeldt

sparsevctrs:Sparse Vectors for Use in Data Frames

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.

Authors:Emil Hvitfeldt [aut, cre], Davis Vaughan [ctb], Posit Software, PBC [cph, fnd]

sparsevctrs_0.1.0.9000.tar.gz
sparsevctrs_0.1.0.9000.zip(r-4.5)sparsevctrs_0.1.0.9000.zip(r-4.4)sparsevctrs_0.1.0.9000.zip(r-4.3)
sparsevctrs_0.1.0.9000.tgz(r-4.4-arm64)sparsevctrs_0.1.0.9000.tgz(r-4.4-x86_64)sparsevctrs_0.1.0.9000.tgz(r-4.3-arm64)sparsevctrs_0.1.0.9000.tgz(r-4.3-x86_64)
sparsevctrs_0.1.0.9000.tar.gz(r-4.5-noble)sparsevctrs_0.1.0.9000.tar.gz(r-4.4-noble)
sparsevctrs_0.1.0.9000.tgz(r-4.4-emscripten)sparsevctrs_0.1.0.9000.tgz(r-4.3-emscripten)
sparsevctrs.pdf |sparsevctrs.html
sparsevctrs/json (API)
NEWS

# Installsparsevctrs in R:
install.packages('sparsevctrs',repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/sparsevctrs/issues

On CRAN:

20 exports 4 stars 1.66 score 5 dependencies 410 downloads

Last updated 7 days agofrom:9c22ca9a1b

Exports:as_sparse_characteras_sparse_doubleas_sparse_integeras_sparse_logicalcoerce_to_sparse_data_framecoerce_to_sparse_matrixcoerce_to_sparse_tibbleis_sparse_characteris_sparse_doubleis_sparse_integeris_sparse_logicalis_sparse_numericis_sparse_vectorsparse_charactersparse_defaultsparse_doublesparse_integersparse_logicalsparse_positionssparse_values

Dependencies:cligluelifecyclerlangvctrs

Design behind sparsevctrs

Rendered fromdesign.Rmdusingknitr::rmarkdownon Jun 29 2024.

Last update: 2024-05-13
Started: 2024-05-09

Readme and manuals

Help Manual

Help pageTopics
Coerce sparse matrix to data frame with sparse columnscoerce_to_sparse_data_frame
Coerce sparse data frame to sparse matrixcoerce_to_sparse_matrix
Coerce sparse matrix to tibble with sparse columnscoerce_to_sparse_tibble
Coerce numeric vector to sparse doubleas_sparse_character as_sparse_double as_sparse_integer as_sparse_logical coerce-vector
Information extraction from sparse vectorsextractors sparse_default sparse_positions sparse_values
Create sparse character vectorsparse_character
Create sparse double vectorsparse_double
Create sparse integer vectorsparse_integer
Create sparse logical vectorsparse_logical
Sparse vector type checkersis_sparse_character is_sparse_double is_sparse_integer is_sparse_logical is_sparse_numeric is_sparse_vector type-predicates