Learn R Programming

foreSIGHT (version 1.2.0)

func_R: Calculates the number of days above a threshold (often used for temperature)

Description

Calculates the number of days above a threshold (often used for temperature)

Usage

func_R(data, attArgs)

Arguments

data

is a vector, representing a time series

attArgs

is a list, with attArgs$threshold denoting the threshold