[Returnanalytics-commits] r3734 - pkg/Dowd/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 24 00:00:51 CEST 2015


Author: dacharya
Date: 2015-06-24 00:00:51 +0200 (Wed, 24 Jun 2015)
New Revision: 3734

Modified:
   pkg/Dowd/R/InsuranceVaR.R
Log:
Typo corrected in hist function: yab -> ylab.

Modified: pkg/Dowd/R/InsuranceVaR.R
===================================================================
--- pkg/Dowd/R/InsuranceVaR.R	2015-06-23 21:56:55 UTC (rev 3733)
+++ pkg/Dowd/R/InsuranceVaR.R	2015-06-23 22:00:51 UTC (rev 3734)
@@ -45,7 +45,7 @@
     theta * mean(total.company.loss) / n # Adjusts for premium
   profit.or.loss <- - adjusted.total.company.loss # Convert to P/L
   hist(adjusted.total.company.loss, col = "blue", 
-       xlab = "Total Company Loss", yab = "Frequency",
+       xlab = "Total Company Loss", ylab = "Frequency",
        main = "Adjusted Total Company Loss")
   y <- HSVaR(profit.or.loss, cl)
   return(y)



More information about the Returnanalytics-commits mailing list