Learn R Programming

microsamplingDesign (version 1.0.8)

getTopNRanking: extract the top n rankings as numeric vector

Description

extract the top n rankings as numeric vector

Usage

getTopNRanking(ranking, nSelect, top = TRUE)

Arguments

ranking
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