R Under development (unstable) (2024-09-06 r87103 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # check reproducibility over two randomly chosen seeds > if (file.exists("_options.R")) source("_options.R") > library(panelPomp,quietly=TRUE) > > seeds <- c(2112533L,188933L) > po <- panelPomp:::panelRandomWalk(N=5,U=2)[[1]] > for (s in seq_along(seeds)) { + set.seed(seeds[s]) + print(obs(simulate(po))) + } t name [,1] [,2] [,3] [,4] [,5] Y 1.6824 1.516507 2.589073 2.806288 5.668038 t name [,1] [,2] [,3] [,4] [,5] Y 2.38056 -0.4932766 -1.502169 -1.994364 -2.069097 > > > proc.time() user system elapsed 0.50 0.04 2.39