add_siteday_cdd: Add a cumulative degree day value for each year + year_day +...

View source: R/add_siteday_cdd.R

add_siteday_cddR Documentation

Add a cumulative degree day value for each year + year_day + site combination

Description

Add a cumulative degree day value for each year + year_day + site combination

Usage

add_siteday_cdd(data, ub = 120, lb = 50)

Arguments

data:

data.frame with latitude, longitude, year, and year_day columns

ub:

the upper bound for degree day calculation in degrees Fahrenheit

lb:

the lower bound for degree day calculation in degrees Fahrenheit

Value

A data.frame with with a cumulative degree day added for each year + year_day + site


ecodata-technology/ecodatamisc documentation built on Feb. 13, 2024, 11:54 a.m.