tbr_gmean_window: Geometric mean based on a time-window

View source: R/tbr_gmean.R

tbr_gmean_windowR Documentation

Geometric mean based on a time-window

Description

Geometric mean based on a time-window

Usage

tbr_gmean_window(x, tcolumn, unit = "years", n, i, ...)

Arguments

x

column containing the values to calculate the geometric mean.

tcolumn

formatted time column.

unit

character, one of "years", "months", "weeks", "days", "hours", "minutes", "seconds"

n

numeric, describing the length of the time window.

i

row

...

additional arguments passed to gmean_ci

Value

list


mps9506/tbrf documentation built on May 20, 2022, 10:49 a.m.