.fixed_metrics_funs {sapfluxnetr}R Documentation

helper function to generate the fixed metrics

Description

generates a call to list to capture the fixed metrics in a quosure lambda style

Usage

.fixed_metrics_funs(probs, centroid)

Arguments

probs

probs vector for quantile

centroid

logical indicating if centroid calculation must be made. (i.e. in monthly metrics, the centroid calculation is not needed)

Metrics

Calculated metrics are as follow:

Examples

sapfluxnetr:::.fixed_metrics_funs(0.95, FALSE)
sapfluxnetr:::.fixed_metrics_funs(c(0.05, 0.95), TRUE)


[Package sapfluxnetr version 0.1.4 Index]