Package: sparta 0.8.4

sparta: Sparse Tables

Fast Multiplication and Marginalization of Sparse Tables.

Authors:Mads Lindskou [aut, cre]

sparta_0.8.4.tar.gz
sparta_0.8.4.zip(r-4.5)sparta_0.8.4.zip(r-4.4)sparta_0.8.4.zip(r-4.3)
sparta_0.8.4.tgz(r-4.4-x86_64)sparta_0.8.4.tgz(r-4.4-arm64)sparta_0.8.4.tgz(r-4.3-x86_64)sparta_0.8.4.tgz(r-4.3-arm64)
sparta_0.8.4.tar.gz(r-4.5-noble)sparta_0.8.4.tar.gz(r-4.4-noble)
sparta_0.8.4.tgz(r-4.4-emscripten)sparta_0.8.4.tgz(r-4.3-emscripten)
sparta.pdf |sparta.html
sparta/json (API)
NEWS

# Install 'sparta' in R:
install.packages('sparta', repos = c('https://mlindsk.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mlindsk/sparta/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

26 exports 1 stars 1.27 score 2 dependencies 1 dependents 1 mentions 67 scripts 388 downloads

Last updated 2 years agofrom:8f812c914c. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-win-x86_64NOTESep 04 2024
R-4.5-linux-x86_64NOTESep 04 2024
R-4.4-win-x86_64NOTESep 04 2024
R-4.4-mac-x86_64NOTESep 04 2024
R-4.4-mac-aarch64NOTESep 04 2024
R-4.3-win-x86_64NOTESep 04 2024
R-4.3-mac-x86_64NOTESep 04 2024
R-4.3-mac-aarch64NOTESep 04 2024

Exports:allowed_class_to_spartaas_arrayas_cptas_dfas_spartadim_namesdivequivget_cell_nameget_valget_valuesmargmultnormalizeslicesparsitysparta_onessparta_ranksparta_structsparta_unity_structtable_sizevalswhich_max_cellwhich_max_idxwhich_min_cellwhich_min_idx

Dependencies:RcppRcppArmadillo

Using sparta

Rendered fromusing_sparta.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2022-04-11
Started: 2022-04-11

Readme and manuals

Help Manual

Help pageTopics
sparta: Sparse Tablessparta-package sparta
Classes that can be converted to spartaallowed_class_to_sparta
As arrayas_array as_array.sparta as_array.sparta_unity
As cptas_cpt as_cpt.sparta
As data frameas_df as_df.sparta
As sparse tableas_sparta as_sparta.array as_sparta.data.frame as_sparta.matrix as_sparta.sparta as_sparta.table
Equivequiv equiv.sparta
Get value or cell nameget_cell_name get_cell_name.sparta get_val get_val.sparta
Marginalization of sparse tablesmarg marg.numeric marg.sparta
Multiplication and division of sparse tablesdiv div.numeric div.sparta mult mult.numeric mult.sparta
Normalizenormalize normalize.numeric normalize.sparta
Printprint.sparta
Sliceslice slice.sparta
Sparsitysparsity sparsity.sparta sparsity.sparta_unity
Sparta Onessparta_ones
Construct sparta objectsparta_struct
Sparse unity tablesparta_unity_struct
Vector-like operations on sparta objectsmax.sparta min.sparta sum.sparta which_max_cell which_max_cell.sparta which_max_idx which_max_idx.sparta which_min_cell which_min_cell.sparta which_min_idx which_min_idx.sparta
Number of elements in a tabletable_size table_size.sparta
Sparta gettersdim_names dim_names.sparta get_values get_values.sparta names.sparta sparta_rank sparta_rank.sparta_unity vals vals.sparta