View source: R/01-estimateMap.R
prepareDate | R Documentation |
Adds new columns 'Date' and 'Uncertainty' that are used in the model dependent on user inputs.
prepareDate(data, DateOne, DateTwo, DateType, dateUnc, useMaxUnc = TRUE)
data |
data.frame: data |
DateOne |
character: name of date variable 1 (lower interval point / mean / single point) |
DateTwo |
character: name of date variable 2 (upper interval point / sd / ) |
DateType |
character: one of "Interval", "Mean + 1 SD uncertainty" and "Single Point" |
dateUnc |
character: one of "uniform", "normal", "point" |
useMaxUnc |
(logical) True if max uncertainty should be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.