d4_method_from_vector: d4_method_from_vector

Description Usage Arguments Examples

View source: R/day4.R

Description

This function will take raw observations, make sure there is enough data to perform the D4 Method (if not, it will return NULL), and then calculate the D4 Method.

Usage

1

Arguments

x

A vector of SWE values

Examples

1
2
x <- c(1, -2, -1, 0, 0, -4, 5, 0, 3, -1, 0, -2, -1, 3)
rdailychange:::d4_method_from_vector(x)

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