favour | R Documentation |
Favour datasets in a datacube
favour(datacube, dataset)
favor(datacube, dataset)
datacube |
A many datacube |
dataset |
The name of one, or more, datasets within the datacube 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 datacube 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.