This package is considered a duplicate. The official version of this package is found at:https://mlindsk.r-universe.dev/sparta
Package: sparta 1.0.1
sparta: Sparse Tables
Fast Multiplication and Marginalization of Sparse Tables <doi:10.18637/jss.v111.i02>.
Authors:
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')) |
Bug tracker:https://github.com/mlindsk/sparta/issues
Last updated 3 days agofrom:cf58fa7b59. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 25 2024 |
R-4.5-linux-x86_64 | OK | Nov 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
sparta: Sparse Tables | sparta-package sparta |
Classes that can be converted to sparta | allowed_class_to_sparta |
As array | as_array as_array.sparta as_array.sparta_unity |
As cpt | as_cpt as_cpt.sparta |
As data frame | as_df as_df.sparta |
As sparse table | as_sparta as_sparta.array as_sparta.data.frame as_sparta.matrix as_sparta.sparta as_sparta.table |
Equiv | equiv equiv.sparta |
Get value or cell name | get_cell_name get_cell_name.sparta get_val get_val.sparta |
Marginalization of sparse tables | marg marg.numeric marg.sparta |
Multiplication and division of sparse tables | div div.numeric div.sparta mult mult.numeric mult.sparta |
Normalize | normalize normalize.numeric normalize.sparta |
print.sparta | |
Slice | slice slice.sparta |
Sparsity | sparsity sparsity.sparta sparsity.sparta_unity |
Sparta Ones | sparta_ones |
Construct sparta object | sparta_struct |
Sparse unity table | sparta_unity_struct |
Vector-like operations on sparta objects | max.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 table | table_size table_size.sparta |
Sparta getters | dim_names dim_names.sparta get_values get_values.sparta names.sparta sparta_rank sparta_rank.sparta_unity vals vals.sparta |