wealth

0th

Percentile

Conversion of an index to wealth

Converts an index series to a wealth series normalizing the starting value to one.

Keywords
chron
Usage
index2wealth(x)
Arguments
x
an object of class 'timeSeries'.
Value

returns a time series object of the same class as the input argument x normalizing the starting value to one.

Aliases
  • index2wealth
Examples
library(timeSeries) ## Load MSFT Open Prices - INDEX <- MSFT[1:20, 1] INDEX ## Compute Wealth Normalized to 100 - 100 * index2wealth(INDEX)
Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.