R/summary.AmerPut.R

Defines functions summary.AmerPut

Documented in summary.AmerPut

summary.AmerPut <-
function(object, ...){
	cat("\nAmerican Put Option\nMethod: Simple Least Squares Monte Carlo\n")
	mat1<-matrix(object)
	rownames(mat1)<-c("Option price", "Spot price", "Strike", "Volatility", "Number of paths", "Number of time-steps", "Interest rate", "Dividend rate", "Maturity time")
	colnames(mat1) <- c(" ")
	print(mat1)
}

Try the LSMonteCarlo package in your browser

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

LSMonteCarlo documentation built on May 2, 2019, 8:55 a.m.