heuristicUnits: Makes a guess about the units of a time vector based on the...

View source: R/helper.R

heuristicUnitsR Documentation

Makes a guess about the units of a time vector based on the values

Description

Guesses year units based on some simple heuristics

Usage

heuristicUnits(X, range.min = 25)

Arguments

X

A LiPD variable list or a vector of years BP

range.min

What's the smallest range that you'd believe is yr not ka? (default = 25)

Value

A *guessed* string unit label

See Also

Other utility: askUser(), concatEnsembleTimeseries(), convertAD2BP(), convertBP2AD(), createChronMeasInputDf(), gaussianize(), getLastVarString(), getOs(), loadRemote(), pullInstance(), stringifyVariables(), surrogateDataFun()


nickmckay/GeoChronR documentation built on Feb. 21, 2025, 6:38 a.m.