get_margins: Calculate revenues, EBIT, operating margins dynamics (last...

View source: R/valuation_funs.R

get_marginsR Documentation

Calculate revenues, EBIT, operating margins dynamics (last 5Y)

Description

Calculate percentage of revenue or EBIT increase/decrease over the last 5Y. Additionally, calculate dynamics of operating margins (last 5Y)

Usage

get_margins(revenues, ebit)

Arguments

revenues

List Revenues the last 5Y

ebit

List EBIT the last 5Y

Value

List EBIT/Revenue dynamic and margins

Examples

# revenues <- list(y4=100,y3=256,y2=546,y1=547, current=850)
# ebit <- list(y4=75,y3=133,y2=400,y1=413, current=750)
# margins <- get_margins(revenues=revenues, ebit=ebit)

TracyRage/fun_valuation documentation built on Jan. 29, 2023, 8:41 a.m.