Description Usage Arguments Value
getCleanData
cleans the fund and risk-free data, merges it, returns
only the important columns. Returns daily data (daily return).
1 | getCleanData(fundsNav, rf, frequency = "days")
|
fundsNav |
data frame with fund data as returned by getFundData (or any other data frame that can be passed to computeReturnFromNav() function). |
rf |
data frame wirh risk-free rates as returned by getRfData function. |
frequency |
string, one of c("days", "weeks", "months", "quarters", "years") |
An object of class FundData, which inherits from data.frame. It has
id, date, fund nav, fund return and risk-free rate at a specified
frequency. Returns are same as frequence (e.g. daily for dailty frequence,
monthly for monthly frequency). Frequency is stored in the frequency
attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.