RSI_graph: Regime Shift Index graph

View source: R/RSI_graph.R

RSI_graphR Documentation

Regime Shift Index graph

Description

creates two graphs, one of data and one of the RSI, as seen in Rodionov (2004)

Usage

RSI_graph(data, col, time, rsi, mean_lines = FALSE)

Arguments

data

The dataframe that will be used.

col

The column we are measuring change on.

time

The column containing time units (e.g. age of a subsample)

rsi

The column containing RSI values (for best visualisation use Rodionov() with merge=TRUE)

mean_lines

If true, add lines over the data indicating the mean of each regime.

Value

Two graphs, one on top of the other; one of col against time and one of RSI against time.

Examples

RSI_graph(lake_RSI, "DCA1", "Age", "RSI")

rshift documentation built on April 12, 2025, 1:20 a.m.

Related to RSI_graph in rshift...