From 65cebdd5e3c6efaab3c1348547dd6d4a2ae38676 Mon Sep 17 00:00:00 2001 From: Philipp Boersch-Supan Date: Fri, 6 Jan 2023 16:34:48 +0000 Subject: [PATCH] tidy vignette and install instructions --- README.md | 6 ++++-- vignettes/extended-moult-models.Rmd | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b8f96d..245eee4 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,11 @@ The package `moultmcmc` is built around pre-compiled [Stan](https://mc-stan.org/ ```r install.packages("moultmcmc", repos = "https://pboesu.r-universe.dev") ``` -On Mac and Windows systems this will make use of pre-compiled binaries, which means the models can be run without having to install a C++ compiler. On Linux this will install the package from a source tarball. Because of the way the Stan models are currently structured, compilation from source can be a lengthy process (15-45 minutes), depending on system setup and compiler toolchain. +On Mac and Windows systems this will make use of pre-compiled binaries, which means the models can be run without having to install a C++ compiler. +A Linux binary is available for `r-release` on `ubuntu:latest` and repository settings to obtain this are explained in the [r-universe help](https://github.com/r-universe-org/help#does-r-universe-have-linux-binaries). +For all other Linux platforms the above code will install the package from a source tarball. Because of the way the Stan models are currently structured, compilation from source can be a lengthy process (15-45 minutes), depending on system setup and compiler toolchain. -To install `moultmcmc` from the github source (not generally recommended for Windows users) use the following code. This requires a working C++ compiler and a working installation of [rstan](https://mc-stan.org/rstan): +To install `moultmcmc` from the github source (not generally recommended for MacOS or Windows users) use the following code. This requires a working C++ compiler and a working installation of [rstan](https://mc-stan.org/rstan): ```r #not generally recommended for Windows/MacOS users diff --git a/vignettes/extended-moult-models.Rmd b/vignettes/extended-moult-models.Rmd index 9f29734..79c8405 100644 --- a/vignettes/extended-moult-models.Rmd +++ b/vignettes/extended-moult-models.Rmd @@ -279,7 +279,6 @@ confint(lm(est_start ~ I(true_start - 196.83), data = ints)) cowplot::plot_grid(t3r_intercepts + theme(legend.position = 'none'), t5r_intercepts + theme(legend.position = 'none')) -#TODO: I think the function now returns the internal index of the random effects vector but matches that to the global index of individuals?! ``` We find that agreement between simulations and estimates is good, even though the model does not explicitly account for heterogeneity in individual moult durations.