regime_means: Calculate means for each regime

View source: R/regime_means.R

regime_meansR Documentation

Calculate means for each regime

Description

calculates the mean for each regime in a regime shift analysis.

Usage

regime_means(data, col, rsi)

Arguments

data

The dataframe that will be used.

col

The column we are measuring change on.

rsi

The column containing RSI values.

Value

A vector of the mean value for each regime.

Examples

regime_means(lake_RSI, "DCA1", "RSI")


alexhroom/rshift documentation built on June 12, 2025, 7:44 a.m.