Description Usage Arguments Value
View source: R/function.preferred_choice.R
Returns the element of a vector using a ranked preference list
1 | preferred_choice(x, preferences, default = 1)
|
x |
vector from which to choose |
preferences |
ranked vector of terms to serach for in |
default |
if no |
an element of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.