View source: R/analytics_returns.R
get_roi_by_period | R Documentation |
Get cumulative return on investment for specific period
get_roi_by_period(df_complete_panel, nb_period = NULL, period_type = "max")
df_complete_panel |
A data frame containing the complete panel. |
nb_period |
An integer indicating the number of months. Default is NULL. |
period_type |
A single character string. Default max. Possible values max, weeks and months. |
A data frame containing the cumulative return on investment for a given period.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.