Finds k-top-ranked sets defined in Baranowski and Fryzlewicz (2015). This routine is used inside rbvs; it typically will be not called directly by the user.
Usage
top.ranked.sets(rankings, k.max, min.max.freq = 1, active = NULL)
Arguments
rankings
Matrix with rankings in each column.
k.max
Positive integer.
min.max.freq
Maximum frequency.
active
A vector with previously found active variables.
Value
List containing the following fields.
frequencies
Frequencies corresponding to the most frequent subsests at the top of the rankings.