poly_ss: Calculate degree polynomials using the single sine method.

Description Usage Arguments Value

View source: R/polys.R

Description

C++ function for calculating a data.frame of degree polynomials for vectors of tmin / tmax.

Usage

1
poly_ss(tmin, tmax, degree, weights = NULL, parallel = FALSE)

Arguments

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.