Approach used in Carlson 2019 bioRxiv forthcoming. Can be done with maximum point per year, maximum n points, or the OLE ('distance-to-edge' model).
1 2 |
dataset |
A dataset frame containing columns "Year" and "Species" at a minimum as well as the response variable. |
resp |
A variable within the dataset that is being tracked, such as elevation, or latitude. (If latitude is used, just note to convert it back to km manually, it's not currently automatic in here.) |
n.pts |
Number of top-per-year points to use. Haven't added this functionality yet |
OLE |
Distance-to-edge model, haven't added yet |
byRegion |
The column to use as a random spatial effect to handle spatial heterogeneity (multiple gradients) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.