example.data: Generate example TDM input data

View source: R/example.data.R

example.dataR Documentation

Generate example TDM input data

Description

This function returns a data.frame containing standard TDM (thermal dissipation method) measurements provided in two different formats. The data is obtained from tdm.data where \Delta V measurements are given for Norway spruce (Picea abies Karts.) growing in a valley in the Swiss Alps. See tdm.data for additional details.

Usage

example.data(type = "timestamp")

Arguments

type

Character string, indicating whether the example data should be displayed with a timestamp (default = “timestamp”) or separate year, day of day (“doy”).

Details

This dataset can be applied for testing the functions provided in TREX.

Value

A data.frame containing TDM measurements according to a specific type.

Examples


# get example data
input_data <- example.data(type = "timestamp")
input_data <- example.data(type = "doy")
head(input_data)


the-Hull/TREX documentation built on Feb. 15, 2024, 9:13 a.m.