rate: Numeric value of the yearly rate to be used.
output: Selects different output options. It can be either "full" for a list containing a sensibility plot and a data frame with a single observation and one column for each variable, or "simple" for a two column data frame with one observation for each calculated variable. Default: "simple".
sens_limits: Selects the rate rage used in the sensibility plot. This is a numeric vector with two elements, the initial and final rate to be used as range. These can vary between 0 and 100. Default: c(1,30).
big_mark: Selects thousands separator. Can be either ".", " " or ",". Default: ",".
dec_mark: Selects decimal separator. Can be either "," or ".". Default: ".".
prefix: selects the prefix for the y axis in the sensibility plot. Can be either "$" or "R$". Default: "$".
Returns
A data frame, or a list, according to output.
Examples
## Not run:library(forestmangr)data(exfm22)npv_irr(exfm22,"year","cost","revenue",rate=8.75)# To also get a sensibility plot, usenpv_irr(exfm22,"year","cost","revenue",rate=8.75, output="full")## End(Not run)