[Pomp-commits] r287 - in pkg/inst: . doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jul 19 18:20:04 CEST 2010


Author: kingaa
Date: 2010-07-19 18:20:03 +0200 (Mon, 19 Jul 2010)
New Revision: 287

Modified:
   pkg/inst/ChangeLog
   pkg/inst/doc/advanced_topics_in_pomp.pdf
   pkg/inst/doc/intro_to_pomp.Rnw
   pkg/inst/doc/intro_to_pomp.pdf
Log:
- update the vignette


Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2010-07-19 16:12:36 UTC (rev 286)
+++ pkg/inst/ChangeLog	2010-07-19 16:20:03 UTC (rev 287)
@@ -1,3 +1,10 @@
+2010-07-19  kingaa
+
+	* [r286] DESCRIPTION, NAMESPACE, R/pomp-methods.R, inst/ChangeLog,
+	  inst/NEWS, man/pomp-methods.Rd, tests/rw2.R, tests/rw2.Rout.save,
+	  tests/sir.R, tests/sir.Rout.save: - added new 'window',
+	  'timezero', and 'timezero<-' methods for 'pomp' objects
+
 2010-07-06  kingaa
 
 	* [r285] R/pomp-methods.R: - error checking in 'data.array'

Modified: pkg/inst/doc/advanced_topics_in_pomp.pdf
===================================================================
(Binary files differ)

Modified: pkg/inst/doc/intro_to_pomp.Rnw
===================================================================
--- pkg/inst/doc/intro_to_pomp.Rnw	2010-07-19 16:12:36 UTC (rev 286)
+++ pkg/inst/doc/intro_to_pomp.Rnw	2010-07-19 16:20:03 UTC (rev 287)
@@ -476,14 +476,26 @@
 <<eval=F>>=
 data.array(ou2)
 time(ou2)  
-time(ou2,t0=TRUE)  
 @ 
-The times can be changed using
+The observation times can be changed using
 <<eval=F>>=
 time(ou2) <- 1:10
+@ 
+or
+<<eval=F>>=
+ou2 <- window(ou2,start=1,end=10)
+@ 
+One can respectively view and change the zero-time by
+<<eval=F>>=
+timezero(ou2)
+timezero(ou2) <- -10
+@ 
+and can respectively view and change the zero-time together with the observation times by doing, for example
+<<eval=F>>=
+time(ou2,t0=TRUE)  
 time(ou2,t0=T) <- seq(from=0,to=10,by=1)
 @ 
-One can read and change parameters associated with the \pomp\ object using, e.g.,
+One can read and change model parameters using, e.g.,
 <<eval=F>>=
 coef(ou2)
 coef(ou2,c("sigma.1","sigma.2")) <- c(1,0)

Modified: pkg/inst/doc/intro_to_pomp.pdf
===================================================================
(Binary files differ)



More information about the pomp-commits mailing list