[Yuima-commits] r480 - in pkg/yuima: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Oct 15 14:31:56 CEST 2016


Author: lorenzo
Date: 2016-10-15 14:31:55 +0200 (Sat, 15 Oct 2016)
New Revision: 480

Modified:
   pkg/yuima/DESCRIPTION
   pkg/yuima/R/simulate.R
Log:
Updated Simulate for cogarch

Modified: pkg/yuima/DESCRIPTION
===================================================================
--- pkg/yuima/DESCRIPTION	2016-10-07 21:26:46 UTC (rev 479)
+++ pkg/yuima/DESCRIPTION	2016-10-15 12:31:55 UTC (rev 480)
@@ -1,7 +1,7 @@
 Package: yuima
 Type: Package
 Title: The YUIMA Project Package for SDEs
-Version: 1.1.9
+Version: 1.2.0
 Depends: R(>= 2.10.0), methods, zoo, stats4, utils, expm, cubature, mvtnorm
 Imports: Rcpp (>= 0.12.1)
 Author: YUIMA Project Team

Modified: pkg/yuima/R/simulate.R
===================================================================
--- pkg/yuima/R/simulate.R	2016-10-07 21:26:46 UTC (rev 479)
+++ pkg/yuima/R/simulate.R	2016-10-15 12:31:55 UTC (rev 480)
@@ -810,7 +810,10 @@
   Data <- setData(X,delta = Delta)
   result <- setYuima(data=Data,model=yuimaCogarch at model, sampling=yuimaCogarch at sampling)
   }
-  return(result)
+  if(missing(subsampling))
+    return(result)
+  subsampling(result, subsampling)
+  #return(result)
 }
 
 # Simulate method for an object of class cogarch.gmm.incr



More information about the Yuima-commits mailing list