CalcCOM: Calculate center-of-mass.

Description Usage Arguments Value

View source: R/utilities.R

Description

CalcCOM calculates the time step of center of mass. Calculate the time step when the center-of-mass of a time series of values occurs.

Usage

1
CalcCOM(x, na.rm = TRUE)

Arguments

x

The time series vector.

Value

The center-of-mass time step.


mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.