Skip to content

Commit bd616a7

Browse files
committed
Edits to --run-donttest examples
1 parent 598b470 commit bd616a7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

examples/traj_match.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
traj_objfun(
55
est=c("r","sigma","N_0"),
66
partrans=parameter_trans(log=c("r","sigma","N_0")),
7-
paramnames=c("r","sigma","N_0"),
7+
paramnames=c("r","sigma","N_0")
88
) -> f
99

1010
f(log(c(20,0.3,10)))

examples/userdata.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## C snippet approach:
77

88
simulate(times=1:100,t0=0,
9-
phi=as.double(100),
9+
userdata=list(phi=as.double(100)),
1010
params=c(r=3.8,sigma=0.3,N.0=7),
1111
rprocess=discrete_time(
1212
step.fun=Csnippet(r"{
@@ -46,7 +46,7 @@
4646
## Finally, the R function approach:
4747

4848
simulate(times=1:100,t0=0,
49-
phi=100,
49+
userdata=list(phi=100),
5050
params=c(r=3.8,sigma=0.3,N_0=7),
5151
rprocess=discrete_time(
5252
step.fun=function (r, N, sigma, ...) {

man/pfilter.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/traj_match.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/userdata.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)