[Pomp-commits] r939 - www/vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Apr 24 23:13:09 CEST 2014
Author: kingaa
Date: 2014-04-24 23:13:09 +0200 (Thu, 24 Apr 2014)
New Revision: 939
Modified:
www/vignettes/advanced_topics_in_pomp.pdf
www/vignettes/gompertz-performance.rda
www/vignettes/intro_to_pomp.R
www/vignettes/intro_to_pomp.Rnw
www/vignettes/intro_to_pomp.pdf
www/vignettes/pomp.pdf
Log:
- more tweaks
Modified: www/vignettes/advanced_topics_in_pomp.pdf
===================================================================
(Binary files differ)
Modified: www/vignettes/gompertz-performance.rda
===================================================================
(Binary files differ)
Modified: www/vignettes/intro_to_pomp.R
===================================================================
--- www/vignettes/intro_to_pomp.R 2014-04-24 15:08:55 UTC (rev 938)
+++ www/vignettes/intro_to_pomp.R 2014-04-24 21:13:09 UTC (rev 939)
@@ -291,7 +291,7 @@
rprocess=discrete.time.sim(
step.fun=Csnippet('
double S = exp(-r*dt);
- double eps = (sigma > 0.0) ? exp(rnorm(0,sigma)) : 1.0;
+ double eps = rlnorm(0,sigma);
X = pow(K,(1-S))*pow(X,S)*eps;
'),
delta.t=1
Modified: www/vignettes/intro_to_pomp.Rnw
===================================================================
--- www/vignettes/intro_to_pomp.Rnw 2014-04-24 15:08:55 UTC (rev 938)
+++ www/vignettes/intro_to_pomp.Rnw 2014-04-24 21:13:09 UTC (rev 939)
@@ -550,7 +550,7 @@
There are two ways to accomplish this.
Since version 0.50, one can define the components of a POMP model using snippets of C code.
This is quite straightforward and easy to do in most cases.
-Alternatively, since its earliest versions, \pkg{pomp} has provided a more flexible, but more complicated interface allowing a user to write the basic functions in C or FORTRAN, compile them into a shared-object library using \code{R CMD SHLIB}, dynamically link them into an \R\ session, and construct \code{pomp} objects that call them.
+Alternatively, since its earliest versions, \pkg{pomp} has provided a more flexible, but more complicated, interface allowing a user to write the basic functions in C or FORTRAN, compile them into a shared-object library using \code{R CMD SHLIB}, dynamically link them into an \R\ session, and construct \code{pomp} objects that call them.
Users desiring to follow the latter approach are directed to the ``Advanced topics'' document, included with the package and at \texttt{http://pomp.r-forge.r-project.org} and to the package source code for the POMP model examples included with the package.
Here, we'll demonstrate the method using snippets.
@@ -570,7 +570,7 @@
rprocess=discrete.time.sim(
step.fun=Csnippet('
double S = exp(-r*dt);
- double eps = (sigma > 0.0) ? exp(rnorm(0,sigma)) : 1.0;
+ double eps = rlnorm(0,sigma);
X = pow(K,(1-S))*pow(X,S)*eps;
'),
delta.t=1
Modified: www/vignettes/intro_to_pomp.pdf
===================================================================
(Binary files differ)
Modified: www/vignettes/pomp.pdf
===================================================================
(Binary files differ)
More information about the pomp-commits
mailing list