day4: Extract Day-4 method observations

Description Usage Arguments Value Examples

View source: R/day4.R

Description

This function allows the user to extract sequential daily changes (Day-1 method) in SWE.

Usage

1
day4(station_data, col_name)

Arguments

station_data

A data table of a measurement location/station.

col_name

Character string of the column name containing the snow observations.

Value

A list with two elements. The first element is the Day-4 method observations, while the second element is the annual maximum load for each snow year.

Examples

1
2
3
sample_data <- rdailychange::sample_data
sample_data <- sample_data[ID == "USW00023062"]
rdailychange:::day4(sample_data, col_name = "SWE")

Kinekenneth48/rdailychange documentation built on Dec. 18, 2021, 3:34 a.m.