Skip to content

Commit

Permalink
Add link to PDF
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <psolymos@gmail.com>
  • Loading branch information
psolymos committed Oct 16, 2023
1 parent 60a5662 commit 86e5fc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Book**](https://peter.solymos.org/qpad-book/).

Check out the [**QPAD workshop**](https://peter.solymos.org/qpad-workshop/).

Read/cite the paper _Agent-based simulations improve abundance estimation_, [DOI](https://doi.org/10.1007/s42977-023-00183-2).
Read/cite the paper [**Agent-based simulations improve abundance estimation**](https://rdcu.be/doDwI) (DOI 10.1007/s42977-023-00183-2).

## Install

Expand All @@ -69,7 +69,7 @@ See what is new in the [NEWS](NEWS.md) file.

Please cite (see `citation("bSims")`) the paper:

Solymos, P. 2023. Agent-based simulations improve abundance estimation. _Biologia Futura_, [DOI](https://doi.org/10.1007/s42977-023-00183-2).
Solymos, P. 2023. Agent-based simulations improve abundance estimation. _Biologia Futura_, [DOI 10.1007/s42977-023-00183-2](https://doi.org/10.1007/s42977-023-00183-2), [link to PDF](https://rdcu.be/doDwI).

## Contributing

Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Book**](https://peter.solymos.org/qpad-book/).
Check out the [**QPAD
workshop**](https://peter.solymos.org/qpad-workshop/).

Read/cite the paper *Agent-based simulations improve abundance
estimation*, [DOI](https://doi.org/10.1007/s42977-023-00183-2).
Read/cite the paper [**Agent-based simulations improve abundance
estimation**](https://rdcu.be/doDwI) (DOI 10.1007/s42977-023-00183-2).

## Install

Expand All @@ -62,7 +62,9 @@ See what is new in the [NEWS](NEWS.md) file.
Please cite (see `citation("bSims")`) the paper:

Solymos, P. 2023. Agent-based simulations improve abundance estimation.
*Biologia Futura*, [DOI](https://doi.org/10.1007/s42977-023-00183-2).
*Biologia Futura*, [DOI
10.1007/s42977-023-00183-2](https://doi.org/10.1007/s42977-023-00183-2),
[link to PDF](https://rdcu.be/doDwI).

## Contributing

Expand Down Expand Up @@ -172,23 +174,23 @@ nc <- 2 # number of cores
## sequential
system.time(bb <- b$replicate(B, cl=NULL))
#> user system elapsed
#> 0.225 0.003 0.227
#> 0.226 0.001 0.228

## parallel clusters
cl <- makeCluster(nc)
## note: loading the package is optional
system.time(clusterEvalQ(cl, library(bSims)))
#> user system elapsed
#> 0.000 0.000 0.514
#> 0.001 0.000 0.521
system.time(bb <- b$replicate(B, cl=cl))
#> user system elapsed
#> 0.005 0.001 0.180
#> 0.004 0.001 0.185
stopCluster(cl)

## parallel forking
if (.Platform$OS.type != "windows") {
system.time(bb <- b$replicate(B, cl=nc))
}
#> user system elapsed
#> 0.130 0.039 0.171
#> 0.119 0.034 0.152
```

0 comments on commit 86e5fc0

Please sign in to comment.