degree_time: Calculate time in each degree

Description Usage Arguments Details Examples

View source: R/degree_time.R

Description

degree_time returns a data frame with calculated time in each degree at one degree intervals within a specified thresholds.

Usage

1
degree_time(data, thresholds)

Arguments

data

data in wide format with minimum temperature labeled as tmin and maximum temperature labeled as tmax

thresholds

threshold of temperature intervals to calculate time in each degree

Details

To generate time in each degree the data passed must be in wide format with minimum temperature column labeled as tmin and maximum temperature labeled as tmax.

Examples

1
2
data(napa)
degree_time(napa, thresholds = c(0:35))

johnwoodill/nonlineartempr documentation built on Dec. 7, 2019, 9:11 a.m.