View source: R/orderbylatest.R
orderbylatest | R Documentation |
1 = lowest value is rank of 1 returns number that is new sort order for dataset with multiple places and multiple dates, based on rank of place-specific myvar on latest date
orderbylatest(myvar, placevar, mydate)
myvar |
vector of data |
placevar |
vector of county names |
mydate |
vector of dates where you want just most recent |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.