Learn R Programming

dendrometeR (version 1.1.1)

is.dendro: Check input data

Description

The function checks whether the input data is in the required format, as described in the Import dendrometer data vignette.

Usage

is.dendro(dm.data)

Value

The function returns TRUE if the input data is valid and FALSE otherwise. In the latter case, specific error messages are given as well.

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.

Author

Ernst van der Maaten, Marieke van der Maaten-Theunissen and Marko Smiljanic.

Examples

Run this code
data(dmCD, dmHS, dmED)
is.dendro(dmCD)
is.dendro(dmHS)
is.dendro(dmED)

Run the code above in your browser using DataLab