[Depmix-commits] r192 - in trunk: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 27 11:03:31 CEST 2008


Author: maarten
Date: 2008-06-27 11:03:30 +0200 (Fri, 27 Jun 2008)
New Revision: 192

Modified:
   trunk/R/simulate.R
   trunk/man/simulate.Rd
Log:
added "dots" to simulate(transInit) for consistency

Modified: trunk/R/simulate.R
===================================================================
--- trunk/R/simulate.R	2008-06-26 14:20:46 UTC (rev 191)
+++ trunk/R/simulate.R	2008-06-27 09:03:30 UTC (rev 192)
@@ -93,7 +93,7 @@
 )
 
 setMethod("simulate",signature(object="transInit"),
-  function(object,nsim=1,seed=NULL,times,is.prior=FALSE) {
+  function(object,nsim=1,seed=NULL,times,is.prior=FALSE,...) {
     if(!is.null(seed)) set.seed(seed)
     if(is.prior) {
       pr <- dens(object)

Modified: trunk/man/simulate.Rd
===================================================================
--- trunk/man/simulate.Rd	2008-06-26 14:20:46 UTC (rev 191)
+++ trunk/man/simulate.Rd	2008-06-27 09:03:30 UTC (rev 192)
@@ -32,7 +32,7 @@
 	
 	\S4method{simulate}{GLMresponse}(object, nsim=1, seed=NULL, times, ...)
 	
-	\S4method{simulate}{transInit}(object, nsim=1, seed=NULL, times, is.prior=FALSE)
+	\S4method{simulate}{transInit}(object, nsim=1, seed=NULL, times, is.prior=FALSE, ...)
 }
 
 \arguments{



More information about the depmix-commits mailing list