[Returnanalytics-commits] r3876 - pkg/Dowd/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jul 29 01:12:58 CEST 2015
Author: dacharya
Date: 2015-07-29 01:12:58 +0200 (Wed, 29 Jul 2015)
New Revision: 3876
Modified:
pkg/Dowd/R/AmericanPutVaRBinomial.R
Log:
Small type in function name corrected.
Modified: pkg/Dowd/R/AmericanPutVaRBinomial.R
===================================================================
--- pkg/Dowd/R/AmericanPutVaRBinomial.R 2015-07-28 23:12:13 UTC (rev 3875)
+++ pkg/Dowd/R/AmericanPutVaRBinomial.R 2015-07-28 23:12:58 UTC (rev 3876)
@@ -23,10 +23,10 @@
#' @examples
#'
#' # Market Risk of American Put with given parameters.
-#' AmericanPutVarBinomial(0.20, 27.2, 25, .16, .05, 60, 20, .95, 30)
+#' AmericanPutVaRBinomial(0.20, 27.2, 25, .16, .05, 60, 20, .95, 30)
#'
#' @export
-AmericanPutVarBinomial <- function(amountInvested, stockPrice, strike, r,
+AmericanPutVaRBinomial <- function(amountInvested, stockPrice, strike, r,
volatility, maturity, numberSteps, cl, hp){
s <- stockPrice
x <- strike
More information about the Returnanalytics-commits
mailing list