dendro.resolution: Check the resolution of the data

View source: R/dendro.resolution.R

dendro.resolutionR Documentation

Check the resolution of the data

Description

The function provides the resolution of the dendrometer data.

Usage

dendro.resolution(dm.data, unts = c("secs", "mins", "hours", "days"))

Arguments

dm.data

a data.frame with a timestamp (%Y-%m-%d %H:%M:%S format) as row names, and dendrometer series in columns. Output as created using code from the Import dendrometer data vignette.

unts

a character string of "secs", "mins", "hours", "days", specifiying the units in which the resolution should be calculated. Defaults to "secs". Argument matching is performed.

Value

The function returns the resolution of the data in the desired unit.

Author(s)

Marko Smiljanic

Examples

data(dmCD, dmHS, dmED)
dendro.resolution(dmCD, unts = "hours")
dendro.resolution(dmHS, unts = "hours")
dendro.resolution(dmED, unts = "mins")


smiljanicm/dendrometeR documentation built on April 24, 2023, 2:57 p.m.