prepareDate: Prepare Date

View source: R/01-estimateMap.R

prepareDateR Documentation

Prepare Date

Description

Adds new columns 'Date' and 'Uncertainty' that are used in the model dependent on user inputs.

Usage

prepareDate(data, DateOne, DateTwo, DateType, dateUnc, useMaxUnc = TRUE)

Arguments

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.


Pandora-IsoMemo/iso-app documentation built on Dec. 22, 2024, 7:57 a.m.