R/extendr-wrappers.R

Defines functions rust_regime_means rust_rodionov

Documented in rust_regime_means rust_rodionov

# Generated by extendr: Do not edit by hand

# nolint start

#
# This file was created with the following call:
#   .Call("wrap__make_rshift_wrappers", use_symbols = TRUE, package_name = "rshift")

#' @usage NULL
#' @useDynLib rshift, .registration = TRUE
NULL

#' Calculate STARS RSI points and return to R as a vector
#' @param vals The column we are measuring change on
#' @param t_crit The critical value of a t-distribution at the desired p-value
#' @param l The cut-off length of a regime; affects sensitivity
rust_rodionov <- function(vals, t_crit, l) .Call(wrap__rust_rodionov, vals, t_crit, l)

#' Calculates the mean for each regime in a regime shift analysis.
#' @param col The column we are measuring change on.
#' @param rsi The column containing RSI values.
rust_regime_means <- function(col, rsi) .Call(wrap__rust_regime_means, col, rsi)


# nolint end

Try the rshift package in your browser

Any scripts or data that you put into this service are public.

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