inst/book/2ed/05_Binomial_trees/R/Binomial_Trees.R

### R code from "Numerical Methods and Optimization in Finance"

###################################################
### code chunk number 1: chapter-settings
###################################################
library("NMOF")
options(continue = "  ",
        digits = 3,
        scipen = 1e3,
        width = 55,
        str = strOptions(strict.width = "cut"),
        useFancyQuotes = FALSE,
        warn = 2)


###################################################
### code chunk number 2
###################################################
EuropeanCall


###################################################
### code chunk number 3
###################################################
EuropeanCallBE

Try the NMOF package in your browser

Any scripts or data that you put into this service are public.

NMOF documentation built on Oct. 20, 2023, 9:07 a.m.