getTopNRanking: extract the top n rankings as numeric vector

Description Usage Arguments Value

View source: R/internalHelpers.R

Description

extract the top n rankings as numeric vector

Usage

1
getTopNRanking(ranking, nSelect, top = TRUE)

Arguments

ranking

ranking slot of a SetOfTimePoints-class or SetOfSchemes-class

nSelect

the number of items to select

top

logical value if TRUE the top of the ranking is selected, if FALSE the bottom of the ranking is selected, defaults to TRUE

Value

numeric vector of items (number of timePointOption or scheme ) from highest to lowest rank


microsamplingDesign documentation built on Oct. 13, 2021, 5:10 p.m.