Learn R Programming

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

optiRum (version 0.35)

Miscellaneous functions for (primarily) finance / credit risk analysts

Description

This 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.35

License

GPL-3

Maintainer

Stephanie Locke

Last Published

December 8th, 2014

Functions in optiRum (0.35)

RATE

Calculates compounded interest rate
giniChart

Produce a ROC curve with gini coefficient title
odd.prob

Convert an odds to probability
multiplot

Multiple plot function
scaledScore

Produce a scaled score based on a logit
theme_optimum

Produce an Optimum-standard base chart
giniCoef

Produce a gini coefficient
convertToXML

Produce an XML document of a table
odd.logit

Convert an odd into a logit
PMT

Calculates the repayment for a loan
prob.odd

Convert a probability into odds probability
logit.odd

Convert a logit to odds
PV

Calculates the present value
optiRum

optiRum is a helper package
APR

Calculates the compound interest rate for a loan
CJ.dt

Cross join two data.tables
pounds_format

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

Convert an .Rnw file to a PDF
sanitise

A cleaning function for special characters
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
logit.prob

Convert a logit to probability
wordwrap

Produce a string with one word per line Designed for splitting strings to fit better on axis on charts