Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/pub01_utilityFuncs.R
Compute financial returns from prices or indexes.
1  | 
prices | 
 price or index series, an object of class timeSeries,zoo or xts  | 
geometric | 
 use geometric (TRUE) or simple (FALSE) returns, default TRUE  | 
na.rm | 
 a logical value. Should NAs be removed? By Default TRUE.  | 
trim | 
 a logical value. Should the time series be trimmed? By Default TRUE.  | 
This is a wrapped function of function returns in package timeSeries which is used for timeSeries objects
the returns series of the same class of prices
Ruifei.Yin
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.