dendro.resolution: Check the resolution of the data

Description Usage Arguments Value Author(s) Examples

View source: R/dendro.resolution.R

Description

The function provides the resolution of the dendrometer data.

Usage

1
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

1
2
3
4
data(dmCD, dmHS, dmED)
dendro.resolution(dmCD, unts = "hours")
dendro.resolution(dmHS, unts = "hours")
dendro.resolution(dmED, unts = "mins")

dendrometeR documentation built on May 2, 2019, 6:34 a.m.