[Returnanalytics-commits] r3712 - in pkg/Dowd: R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 22 17:20:07 CEST 2015
Author: dacharya
Date: 2015-06-22 17:20:07 +0200 (Mon, 22 Jun 2015)
New Revision: 3712
Modified:
pkg/Dowd/R/GParetoVaR.R
pkg/Dowd/man/GParetoVaR.Rd
Log:
"randn" was corrected to "rnorm" in example.
Modified: pkg/Dowd/R/GParetoVaR.R
===================================================================
--- pkg/Dowd/R/GParetoVaR.R 2015-06-22 15:13:37 UTC (rev 3711)
+++ pkg/Dowd/R/GParetoVaR.R 2015-06-22 15:20:07 UTC (rev 3712)
@@ -20,7 +20,7 @@
#' @examples
#'
#' # Computes ES assuming generalised Pareto for following parameters
-#' Ra <- 5 * randn(100)
+#' Ra <- 5 * rnorm(100)
#' beta <- 1.2
#' zeta <- 1.6
#' threshold.prob <- .85
Modified: pkg/Dowd/man/GParetoVaR.Rd
===================================================================
--- pkg/Dowd/man/GParetoVaR.Rd 2015-06-22 15:13:37 UTC (rev 3711)
+++ pkg/Dowd/man/GParetoVaR.Rd 2015-06-22 15:20:07 UTC (rev 3712)
@@ -27,7 +27,7 @@
}
\examples{
# Computes ES assuming generalised Pareto for following parameters
- Ra <- 5 * randn(100)
+ Ra <- 5 * rnorm(100)
beta <- 1.2
zeta <- 1.6
threshold.prob <- .85
More information about the Returnanalytics-commits
mailing list