bins_ss: Calculate degree bins using the single sine method.

Description Usage Arguments Value

View source: R/bins.R

Description

C++ function for calculating a data.frame of degree bins for vectors of tmin / tmax, and vectors of bins bounds.

Usage

1
bins_ss(t0, t1, tmin, tmax, weights = NULL, parallel = FALSE)

Arguments

t0

vector of lower bounds

t1

vector of upper bounds

tmin

vector of tmin values (1 per day)

tmax

vector of tmax values (1 per day)

weights

vector of optional weights to multiply output by. Default is 1.

Value

data.frame with degree days.


kendonB/degreedays documentation built on Oct. 3, 2020, 9:15 p.m.