Learn R Programming

dendrometeR (version 1.1.1)

dendro.resolution: 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"))

Value

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

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.

Author

Marko Smiljanic

Examples

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

Run the code above in your browser using DataLab