View source: R/valuation_funs.R
get_amortization_5 | R Documentation |
Capitalize R&D investments five years back (Light manufacturing, Aluminum, Auto Parts, Building Materials, Computer Peripherals, Gold/Silver, Mining, Office supplies, Petroleum, Textile, Rubber, Tabacco).
get_amortization_5(cash_flows, amortized)
amortized |
Boolean Calculate amortized R&D |
cashflows |
List of numbers R&D spending the last 5 years |
Number Amortized or unamortized portion of R&D
# List of cash flows # cash_flow <- list(current=123, y1=333, y2=444, y3=444, y4=555, y5=666) # Calculate unamortized portion of R&D # unamortized_rnd <- get_amortization_5(cash_flows=cash_flow, amortized=FALSE) # Calculate amortized portion of R&D # amortized_rnd <- get_amortization_5(cash_flows=cash_flow, amortized=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.