[Robast-commits] r996 - branches/robast-1.1/pkg/RobExtremes/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 20 14:22:54 CEST 2018


Author: ruckdeschel
Date: 2018-07-20 14:22:53 +0200 (Fri, 20 Jul 2018)
New Revision: 996

Modified:
   branches/robast-1.1/pkg/RobExtremes/R/Pareto.R
Log:
[RobExtremes] branch 1.1 new accessor method scale for Pareto distribution

Modified: branches/robast-1.1/pkg/RobExtremes/R/Pareto.R
===================================================================
--- branches/robast-1.1/pkg/RobExtremes/R/Pareto.R	2018-07-20 12:21:33 UTC (rev 995)
+++ branches/robast-1.1/pkg/RobExtremes/R/Pareto.R	2018-07-20 12:22:53 UTC (rev 996)
@@ -8,6 +8,9 @@
 ## Access Methods
 setMethod("shape", "ParetoParameter", function(object) object at shape)
 setMethod("Min", "ParetoParameter", function(object) object at Min)
+setMethod("scale", "GEVParameter",
+           function(x, center = TRUE, scale = TRUE) x at Min)
+### odd arg-list due to existing function in base package
 
 ## Replace Methods
 setReplaceMethod("shape", "ParetoParameter", 



More information about the Robast-commits mailing list