Package: sparta 1.0.1

Mads Lindskou

sparta: Sparse Tables

Fast Multiplication and Marginalization of Sparse Tables <doi:10.18637/jss.v111.i02>.

Authors:Mads Lindskou [aut, cre]

sparta_1.0.1.tar.gz
sparta_1.0.1.tar.gz(r-4.5-noble)sparta_1.0.1.tar.gz(r-4.4-noble)
sparta_1.0.1.tgz(r-4.4-emscripten)sparta_1.0.1.tgz(r-4.3-emscripten)
sparta.pdf |sparta.html
sparta/json (API)
NEWS

# Install 'sparta' in R:
install.packages('sparta', repos = c('https://cran.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

cpp

4.00 score 1 packages 67 scripts 368 downloads 1 mentions 26 exports 2 dependencies

Last updated 3 days agofrom:cf58fa7b59. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 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 Nov 25 2024.

Last update: 2024-11-22
Started: 2022-04-12

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