| compileResults | Compile results of calculation. |
| convertDatesToMonthAndY | Order dates as number of whole months since start. |
| convertDatesToT | Convert dates in a list to a floating point value. |
| convertDatesToY | Order dates as number of whole years since start. |
| convertVectorToFunction | Convert a vector of cashflows into a continuous discount... |
| findFirst | Find the first index with a non-zero value in a vector. |
| findRootContinuous | Solve for the IRR in the continuous case |
| findRootMonthly | Solve for the IRR with monthly aggregation of cash flows. |
| findRootYearly | Solve for the IRR with yearly aggregation of cash flows. |
| readFile | Read .csv file into data frame. |
| run | Main method |
| writeFile | Writes out the results of the calculations. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.