rebase: rescale/rebase the given input

Description Usage Details Value Examples

View source: R/rebase.R

Description

rescale/rebase the given input

Usage

1

Details

comparing two price series of stocks for a given window, we need to rebase them otherwise, imagine stock 1 has a price of 100 and stock 2 a price of 1000, you cannot put on same chart, and imagine stock price grows to 150 (+50

Value

rdata

Examples

1
## Pass a vector and scale that you want to rescale it. rebase(vecotor,10)

seungbochoi/private_Rpackage documentation built on May 17, 2019, 12:12 a.m.