financial models in R