[Pomp-commits] r158 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 8 18:58:20 CEST 2009


Author: kingaa
Date: 2009-07-08 18:58:19 +0200 (Wed, 08 Jul 2009)
New Revision: 158

Modified:
   pkg/man/trajmatch.Rd
Log:
make the documentation a bit more explicit


Modified: pkg/man/trajmatch.Rd
===================================================================
--- pkg/man/trajmatch.Rd	2009-07-07 14:46:07 UTC (rev 157)
+++ pkg/man/trajmatch.Rd	2009-07-08 16:58:19 UTC (rev 158)
@@ -9,16 +9,21 @@
 }
 \arguments{
   \item{object}{A \code{pomp} object.}
-  \item{start}{Guessed parameters.}
+  \item{start}{Initial guess for parameters.}
   \item{est}{Character vector containing the names of parameters to be estimated.}
-  \item{method}{}
-  \item{gr}{}
-  \item{\dots}{Arguments that will be passed to \code{optim} in the
-    \code{control} list.}
+  \item{method}{
+    One of the optimization methods recognized by \code{\link{optim}}.
+  }
+  \item{gr}{
+    Passed to \code{\link{optim}}.
+  }
+  \item{\dots}{
+    Arguments that will be passed to \code{\link{optim}} in the \code{control} list.
+  }
 }
 \details{
-  Trajectory matching is accomplished using \code{\link{optim}}.  It is
-  assumed that the process model is deterministic.
+  Trajectory matching is accomplished using \code{\link{optim}}.
+  It is assumed that the process model is deterministic.
 }
 \examples{
   data(ou2)
@@ -30,7 +35,7 @@
 	      )
   simdata <- simulate(ou2,nsim=1,params=true.p,seed=43553)
   guess.p <- true.p
-  guess.p[grep('sigma',names(guess.p))] <- 0
+  guess.p[grep('sigma',names(guess.p))] <- 0 ## make the process model deterministic
   res <- traj.match(
 		    simdata,
 		    start=guess.p,



More information about the pomp-commits mailing list