Learn R Programming

⚠️There's a newer version (0.41.1) of this package.Take me there.

optiRum (version 0.33)

Miscellaneous functions for finance / credit risk analysts

Description

This packages fills the gaps credit analysts and loan modellers at Optimum Credit identify in the existing R code body. It allows for the production of documentation with less coding, replicates a number of Microsoft Excel functions useful for modelling loans (without rounding), and other helpful functions for producing charts and tables. It also has some additional scales for use, including a GBP scale

Copy Link

Version

Install

install.packages('optiRum')

Monthly Downloads

10

Version

0.33

License

GPL-3

Maintainer

Stephanie Locke

Last Published

April 25th, 2014

Functions in optiRum (0.33)

convertToXML

Produce an XML document of a table
generatePDF

Convert an .Rnw file to a PDF
odd.logit

Convert an odd into a logit
logit.prob

Convert a logit to probability
pounds_format

Currency formatter: round to nearest penny and display pounds sign.
multiplot

Multiple plot function
APR

Calculates the compound interest rate for a loan
giniCoef

Produce a gini coefficient
logit.odd

Convert a logit to odds
optiRum

optiRum is a helper package
PV

Calculates the present value
prob.logit

Convert a probability into a logit
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
scaledScore

Produce a scaled score based on a logit
sanitise

A cleaning function for special characters
PMT

Calculates the repayment for a loan
prob.odd

Convert a probability into odds probability
CJ.dt

Cross join two data.tables
odd.prob

Convert an odds to probability
RATE

Calculates compounded interest rate
giniChart

Produce a ROC curve with gini coefficient title
theme_optimum

Produce an Optimum-standard base chart