| SimpleReturn | R Documentation |
R6 class for simple return calculation
ReturnCalculation -> SimpleReturn
nameName of the return calculation.
SimpleReturn$calculate_return()Calculates the simple return for a single stock.
SimpleReturn$calculate_return( tbl, in_column = "adjusted", out_column = "adjusted_return" )
tblThe dataframe with the stock price.
in_columnThe column name of the price infromation.
out_columnThe column name were the return will be saved.
SimpleReturn$clone()The objects of this class are cloneable with this method.
SimpleReturn$clone(deep = FALSE)
deepWhether to make a deep clone.
Other eventstudy-models:
BHARModel,
Carhart4FactorModel,
ComparisonPeriodMeanAdjustedModel,
DCCGARCHModel,
FamaFrench3FactorModel,
FamaFrench5FactorModel,
GARCHModel,
LinearFactorModel,
LogReturn,
MarketAdjustedModel,
MarketModel,
ModelBase,
ReturnCalculation,
RollingWindowModel,
VolatilityModel,
VolumeModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.