Learn R Programming

compindexR (version 0.1.3)

si_linear: Calculate Si using linear method

Description

Calculate Si using linear method

Usage

si_linear(x, avg_type = "simple")

Value

A data frame

Arguments

x

A Dataframe

avg_type

Choosing average type. So far "simple", "geometric" and "harmonic" average are availableç

Examples

Run this code
x <- data.frame(rnorm(20),rnorm(20),rnorm(20),rnorm(20))
si_linear(x,avg_type = "simple")

Run the code above in your browser using DataLab