favour | R Documentation |
Favour datasets in a database
favour(database, dataset)
favor(database, dataset)
database |
A many database |
dataset |
The name of one, or more, datasets within the database to be favoured over others. |
The dataset declared becomes the reference for the first non NA value. If more than one dataset is declared, please list datasets in increasing order of importance (.i.e. last dataset should be favoured over previous).
The database with datasets re-ordered accordingly
favour(emperors, "UNRV")
favour(emperors, c("wikipedia", "UNRV", "britannica"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.