LogReturn: R6 class for log return calculation

LogReturnR Documentation

R6 class for log return calculation

Description

R6 class for log return calculation

Super class

ReturnCalculation -> LogReturn

Public fields

name

Name of the log return calculation.

Methods

Public methods


LogReturn$calculate_return()

Calculates the return for a single stock.

Usage
LogReturn$calculate_return(
  tbl,
  in_column = "adjusted",
  out_column = "adjusted_return"
)
Arguments
tbl

The dataframe with the stock price.

in_column

The column name of the price infromation.

out_column

The column name were the return will be saved.


LogReturn$clone()

The objects of this class are cloneable with this method.

Usage
LogReturn$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other eventstudy-models: BHARModel, Carhart4FactorModel, ComparisonPeriodMeanAdjustedModel, DCCGARCHModel, FamaFrench3FactorModel, FamaFrench5FactorModel, GARCHModel, LinearFactorModel, MarketAdjustedModel, MarketModel, ModelBase, ReturnCalculation, RollingWindowModel, SimpleReturn, VolatilityModel, VolumeModel


EventStudy documentation built on Oct. 31, 2026, 1:07 a.m.