[Uwgarp-commits] r78 - pkg/GARPFRM/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Feb 8 19:59:13 CET 2014


Author: tfillebeen
Date: 2014-02-08 19:59:12 +0100 (Sat, 08 Feb 2014)
New Revision: 78

Modified:
   pkg/GARPFRM/R/EWMA.R
Log:
Generic

Modified: pkg/GARPFRM/R/EWMA.R
===================================================================
--- pkg/GARPFRM/R/EWMA.R	2014-02-08 18:50:39 UTC (rev 77)
+++ pkg/GARPFRM/R/EWMA.R	2014-02-08 18:59:12 UTC (rev 78)
@@ -129,7 +129,7 @@
 #' @S3method getCov EWMAVar
 getCov.EWMAVar <- function(object, asset1, asset2){
   if(!inherits(object, "EWMAVar")) stop("object must be of class EWMAVar")
-  if (is.null(asset2) == FALSE) {stop("Running univariate EWMA leave asset2 unspecified")}
+  #if (is.null(asset2) == FALSE) {stop("Running univariate EWMA leave asset2 unspecified")}
   # Manipulate object for feasible use  
   # object[[length(object)]] = NULL
   



More information about the Uwgarp-commits mailing list