Miscellaneous functions for (primarily) finance / credit risk analysts


[Up] [Top]

Documentation for package ‘optiRum’ version 0.35

Help Pages

optiRum-package optiRum is a helper package
APR Calculates the compound interest rate for a loan
CJ.dt Cross join two data.tables
convertToXML Produce an XML document of a table
generatePDF Convert an .Rnw file to a PDF
giniChart Produce a ROC curve with gini coefficient title
giniCoef Produce a gini coefficient
logit.odd Convert a logit to odds
logit.prob Convert a logit to probability
multiplot Multiple plot function
odd.logit Convert an odd into a logit
odd.prob Convert an odds to probability
optiRum optiRum is a helper package
PMT Calculates the repayment for a loan
pounds Currency formatter: round to nearest penny and display pounds sign.
pounds_format Currency formatter: round to nearest penny and display pounds sign.
prob.logit Convert a probability into a logit
prob.odd Convert a probability into odds probability
PV Calculates the present value
RATE Calculates compounded interest rate
sanitise A cleaning function for special characters
scaledScore Produce a scaled score based on a logit
theme_optimum Produce an Optimum-standard base chart
thousands Thousands formatter: format number with commas separating the number thousands and suffixed with a k. Based heavily on the scales work by Hadley
thousands_format Thousands formatter: format number with commas separating the number thousands and suffixed with a k. Based heavily on the scales work by Hadley
wordwrap Produce a string with one word per line Designed for splitting strings to fit better on axis on charts