analysis in finance with R