Package: rPref 1.5.0

rPref: Database Preferences and Skyline Computation

Routines to select and visualize the maxima for a given strict partial order. This especially includes the computation of the Pareto frontier, also known as (Top-k) Skyline operator (see Börzsönyi, et al. (2001) <doi:10.1109/ICDE.2001.914855>), and some generalizations known as database preferences (see Kießling (2002) <doi:10.1016/B978-155860869-6/50035-4>).

Authors:Patrick Roocks [aut, cre]

rPref_1.5.0.tar.gz
rPref_1.5.0.zip(r-4.7)rPref_1.5.0.zip(r-4.6)rPref_1.5.0.zip(r-4.5)
rPref_1.5.0.tgz(r-4.6-x86_64)rPref_1.5.0.tgz(r-4.6-arm64)rPref_1.5.0.tgz(r-4.5-x86_64)rPref_1.5.0.tgz(r-4.5-arm64)
rPref_1.5.0.tar.gz(r-4.7-arm64)rPref_1.5.0.tar.gz(r-4.7-x86_64)rPref_1.5.0.tar.gz(r-4.6-arm64)rPref_1.5.0.tar.gz(r-4.6-x86_64)
rPref_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rPref/json (API)

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

Bug tracker:https://github.com/patrickroocks/rpref/issues

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

On CRAN:

Conda:

cpp

6.66 score 2 stars 3 packages 126 scripts 586 downloads 1 mentions 36 exports 22 dependencies

Last updated from:c0d8e5fc9b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK140
linux-devel-x86_64OK159
source / vignettesOK219
linux-release-arm64OK154
linux-release-x86_64OK155
macos-release-arm64OK145
macos-release-x86_64OK233
macos-oldrel-arm64OK166
macos-oldrel-x86_64OK260
windows-develOK119
windows-releaseOK147
windows-oldrelOK136
wasm-releaseOK133

Exports:all_predall_succaroundas.expressionassoc.dfassoc.df<-betweenemptyget_btgget_btg_dotget_hasse_diaghasse_predhasse_succhighhigh_init_pred_succis.base_prefis.complex_prefis.empty_prefis.preferencelayeredlowlow_partial.eval.prefpevalplot_btgplot_frontpospref.strpselpsel.indicesreverseshow.prefshow.querytruetrue_

Dependencies:clicpp11dplyrgenericsglueigraphlatticelazyevallifecyclemagrittrMatrixpillarpkgconfigR6RcppRcppParallelrlangtibbletidyselectutf8vctrswithr

Introduction to rPref
A first Skyline example | Lexicographical order | Top-k selections | Grouped preference selection

Last update: 2025-08-08
Started: 2016-09-01

Visualization of Preferences
A first Skyline plot | Skyline level plots | Better-Than-Graphs | Predecessors and successors in the BTG

Last update: 2025-08-08
Started: 2016-09-01

Readme and manuals

Help Manual

Help pageTopics
Base Preferencesbase_pref high high_ is.base_pref low low_ true true_
Useful Base Preference Macrosaround base_pref_macros between layered pos
Complex Preferences&,preference,preference-method &,preference-method *,preference,preference-method *,preference-method +,preference,preference-method +,preference-method complex_pref is.complex_pref reverse |,preference,preference-method |,preference-method
Utility Functions for Preferencesas.expression,basepref-method as.expression,complexpref-method as.expression,emptypref-method as.expression,preference-method as.expression,reversepref-method assoc.df assoc.df,preference-method assoc.df<- assoc.df<-,preference-method empty general_pref is.empty_pref is.preference length,basepref-method length,complexpref-method length,emptypref-method length,preference-method length,reversepref-method
Adjacency List of Hasse diagramget_hasse_diag
Better-Than-Graphsget_btg get_btg_dot plot_btg
Pareto Front Plotplot_front
Predecessor and Successor Functionsall_pred all_succ hasse_pred hasse_succ init_pred_succ pred_succ
Preference Selectionpeval psel psel.indices
Summary of the rPref PackagerPref-package rPref
Partial Evaluation and String Output of Preferencesas.character,basepref-method as.character,complexpref-method as.character,emptypref-method as.character,preference-method as.character,reversepref-method partial.eval.pref pref.str show.pref
Show Preferences in Database Query Languagesshow.query