rel_change: Relative Change

Description Usage Arguments Value Examples

Description

Relative Change calculation, as stated in https://en.wikipedia.org/wiki/Relative_change_and_difference

Usage

1
rel_change(x, xref)

Arguments

x

a numeric or complex vector or array

xref

ref that x is compared to, must have same size of x

Value

data of same size of x and xref

Examples

1
2
output <- rel_change(1,0.4)
print(output)

FelippeRoza/outlier documentation built on May 6, 2019, 4:36 p.m.