Learn R Programming

TREXr (version 1.0.0)

example.data: 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 = <U+201C>timestamp<U+201D>) or separate year, day of day (<U+201C>doy<U+201D>).

Value

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

Details

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

Examples

Run this code
# NOT RUN {
# get example data
input_data <- example.data(type = "timestamp")
input_data <- example.data(type = "doy")
head(input_data)

# }

Run the code above in your browser using DataLab