Package: crossmap 0.4.0

crossmap: Apply Functions to All Combinations of List Elements

Provides an extension to the 'purrr' family of mapping functions to apply a function to each combination of elements in a list of inputs. Also includes functions for automatically detecting output type in mapping functions, finding every combination of elements of lists or rows of data frames, and applying multiple models to multiple subsets of a dataset.

Authors:Alexander Rossell Hayes [aut, cre, cph]

crossmap_0.4.0.tar.gz
crossmap_0.4.0.zip(r-4.5)crossmap_0.4.0.zip(r-4.4)crossmap_0.4.0.zip(r-4.3)
crossmap_0.4.0.tgz(r-4.4-any)crossmap_0.4.0.tgz(r-4.3-any)
crossmap_0.4.0.tar.gz(r-4.5-noble)crossmap_0.4.0.tar.gz(r-4.4-noble)
crossmap_0.4.0.tgz(r-4.4-emscripten)crossmap_0.4.0.tgz(r-4.3-emscripten)
crossmap.pdf |crossmap.html
crossmap/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/rossellhayes/crossmap/issues

On CRAN:

functional-programmingtidyverse

41 exports 19 stars 2.47 score 18 dependencies 4 mentions 273 downloads

Last updated 2 years agofrom:45648a67ac

Exports:autonamescross_fitcross_fit_glmcross_fit_robustcross_joincross_listcross_tblfuture_imap_vecfuture_map_vecfuture_map2_vecfuture_pmap_vecfuture_xmapfuture_xmap_arrfuture_xmap_chrfuture_xmap_dblfuture_xmap_dfcfuture_xmap_dfrfuture_xmap_intfuture_xmap_lglfuture_xmap_matfuture_xmap_rawfuture_xmap_vecfuture_xwalkimap_vecmap_vecmap2_vecpmap_vectidy_glancexmapxmap_arrxmap_chrxmap_dblxmap_dfcxmap_dfrxmap_intxmap_lglxmap_matxmap_rawxmap_vecxpluckxwalk

Dependencies:backportsclidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Automatically generate names for vectorsautonames
Cross map a model across multiple formulas, subsets, and weightscross_fit
Cross fit generalized linear modelscross_fit_glm
Cross fit robust linear modelscross_fit_robust
Crossing joincross_join
List all combinations of valuescross_list cross_tbl
Parallelized mapping functions that automatically determine typefuture_imap_vec future_map2_vec future_map_vec future_pmap_vec future_xmap_vec
Map over each combination of list elements simultaneously via futuresfuture_xmap future_xmap_chr future_xmap_dbl future_xmap_dfc future_xmap_dfr future_xmap_int future_xmap_lgl future_xmap_raw future_xwalk
Parallelized cross map returning a matrix or arrayfuture_xmap_arr future_xmap_mat
Mapping functions that automatically determine typeimap_vec map2_vec map_vec pmap_vec xmap_vec
Turn an object into a tidy tibble with glance informationtidy_glance
Map over each combination of list elementsxmap xmap_chr xmap_dbl xmap_dfc xmap_dfr xmap_int xmap_lgl xmap_raw xwalk
Return a table applying a function to all combinations of list elementsxmap_arr xmap_mat
Get one or more elements deep within a nested data structurexpluck