Skip to content

Commit 4740347

Browse files
committed
brms-rstan: mentioning cmdstanr backend
1 parent 58dc8af commit 4740347

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

content/tutorials/r_brms/brms_eng/workshop_1_mcmc_en_brms_eng.Rmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,11 @@ Some alternatives also exist:
523523
![Overview of various Stan software (source: https://jtimonen.github.io/posts/post-01/)](software.png)
524524

525525

526+
Although the package **brms** depends on **rstan** as a default backend, there is another software tool worth mentioning: **cmdstanr**.
527+
[Compared to **rstan**, **cmdstanr**]( https://mc-stan.org/cmdstanr/articles/cmdstanr.html#comparison-with-rstan) benefits from more frequent updates and some performance advantages, yet it requires [extra installation steps](https://mc-stan.org/cmdstanr/articles/cmdstanr.html#installing-cmdstan).
528+
In the `brm(...)` function introduced below, you can switch these two with the `backend = ...` keyword.
529+
530+
526531
# Loading the dataset and data exploration
527532

528533
We load a dataset on the number of ant species in New England (USA). Type `?ants` into the console for more info.

content/tutorials/r_brms/brms_nl/workshop_1_mcmc_en_brms.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,9 @@ Er bestaan ook enkele alternatieven:
509509

510510
![Overzicht van verschillende Stan software (bron: https://jtimonen.github.io/posts/post-01/)](software.png)
511511

512+
Hoewel het pakket **brms** afhankelijk is van **rstan** als standaard backend, is er nog een andere softwaretool die het vermelden waard is: **cmdstanr**.
513+
[Vergeleken met **rstan** profiteert **cmdstanr**]( https://mc-stan.org/cmdstanr/articles/cmdstanr.html#comparison-with-rstan) van frequentere updates en enkele performance-voordelen, maar vereist het [extra installatiestappen](https://mc-stan.org/cmdstanr/articles/cmdstanr.html#installing-cmdstan).
514+
In de hieronder geïntroduceerde functie `brm(...)` kunt u deze twee omwisselen met het trefwoord `backend = ...`.
512515

513516

514517
# Dataset laden en data exploratie

0 commit comments

Comments
 (0)