get_roi_by_period.RdGet cumulative return on investment for specific period
get_roi_by_period(df_complete_panel, nb_period = NULL,
period_type = "max")A data frame containing the complete panel.
An integer indicating the number of months. Default is NULL.
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.