Package: sparsevctrs 0.1.0.9002

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.9002.tar.gz
sparsevctrs_0.1.0.9002.zip(r-4.5)sparsevctrs_0.1.0.9002.zip(r-4.4)sparsevctrs_0.1.0.9002.zip(r-4.3)
sparsevctrs_0.1.0.9002.tgz(r-4.4-x86_64)sparsevctrs_0.1.0.9002.tgz(r-4.4-arm64)sparsevctrs_0.1.0.9002.tgz(r-4.3-x86_64)sparsevctrs_0.1.0.9002.tgz(r-4.3-arm64)
sparsevctrs_0.1.0.9002.tar.gz(r-4.5-noble)sparsevctrs_0.1.0.9002.tar.gz(r-4.4-noble)
sparsevctrs_0.1.0.9002.tgz(r-4.4-emscripten)sparsevctrs_0.1.0.9002.tgz(r-4.3-emscripten)
sparsevctrs.pdf |sparsevctrs.html
sparsevctrs/json (API)
NEWS

# Install 'sparsevctrs' 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

Pkgdown site:https://r-lib.github.io

On CRAN:

8.20 score 13 stars 30 packages 21 scripts 458 downloads 26 exports 5 dependencies

Last updated 30 days agofrom:35720dc9d7. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 26 2024
R-4.5-win-x86_64OKDec 26 2024
R-4.5-linux-x86_64OKDec 26 2024
R-4.4-win-x86_64OKDec 26 2024
R-4.4-mac-x86_64OKDec 26 2024
R-4.4-mac-aarch64OKDec 26 2024
R-4.3-win-x86_64OKDec 26 2024
R-4.3-mac-x86_64OKDec 26 2024
R-4.3-mac-aarch64OKDec 26 2024

Exports:as_sparse_characteras_sparse_doubleas_sparse_integeras_sparse_logicalcoerce_to_sparse_data_framecoerce_to_sparse_matrixcoerce_to_sparse_tibblehas_sparse_elementsis_sparse_characteris_sparse_doubleis_sparse_integeris_sparse_logicalis_sparse_numericis_sparse_vectorsparse_charactersparse_defaultsparse_doublesparse_dummysparse_integersparse_logicalsparse_meansparse_mediansparse_positionssparse_sdsparse_valuessparse_var

Dependencies:cligluelifecyclerlangvctrs

Design behind sparsevctrs

Rendered fromdesign.Rmdusingknitr::rmarkdownon Dec 26 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
Check for sparse elementshas_sparse_elements
Create sparse character vectorsparse_character
Create sparse double vectorsparse_double
Generate sparse dummy variablessparse_dummy
Create sparse integer vectorsparse_integer
Create sparse logical vectorsparse_logical
Calculate mean from sparse vectorssparse_mean
Calculate median from sparse vectorssparse_median
Calculate standard diviation from sparse vectorssparse_sd
Calculate variance from sparse vectorssparse_var
sparsevctrs optionssparsevctrs_options
Sparse vector type checkersis_sparse_character is_sparse_double is_sparse_integer is_sparse_logical is_sparse_numeric is_sparse_vector type-predicates