[Yuima-commits] r23 - pkg/yuima/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Nov 24 16:37:27 CET 2009
Author: iacus
Date: 2009-11-24 16:37:26 +0100 (Tue, 24 Nov 2009)
New Revision: 23
Modified:
pkg/yuima/R/simulate.R
Log:
added few explanations
Modified: pkg/yuima/R/simulate.R
===================================================================
--- pkg/yuima/R/simulate.R 2009-11-24 15:34:03 UTC (rev 22)
+++ pkg/yuima/R/simulate.R 2009-11-24 15:37:26 UTC (rev 23)
@@ -1,3 +1,12 @@
+## We have splitted the simulate function into blocks to allow for future
+## methods to be added. S.M.I. & A.B.
+## Interface to simulate() changed to match the S3 generic funciton in the
+## package stats
+## added an environment to let R find the proper values defined in the main
+## body of the function, which in turn calls different simulation methods
+## All new simulation methods should look into the yuimaEnv for local variables
+## when they need to "eval" R expressions
+
##:: function simulate
##:: solves SDE and returns result
setGeneric("simulate",
More information about the Yuima-commits
mailing list