From affd03d7ec77b15258a98ae80f1a8f81a4b102bf Mon Sep 17 00:00:00 2001 From: melina-leite Date: Thu, 17 Oct 2024 14:37:34 +0200 Subject: [PATCH] Update DHARMa.Rmd --- DHARMa/vignettes/DHARMa.Rmd | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/DHARMa/vignettes/DHARMa.Rmd b/DHARMa/vignettes/DHARMa.Rmd index 9e38190..6755381 100644 --- a/DHARMa/vignettes/DHARMa.Rmd +++ b/DHARMa/vignettes/DHARMa.Rmd @@ -2,17 +2,27 @@ title: "DHARMa: residual diagnostics for hierarchical (multi-level/mixed) regression models" author: "Florian Hartig, Theoretical Ecology, University of Regensburg [website](https://www.uni-regensburg.de/biologie-vorklinische-medizin/theoretische-oekologie/mitarbeiter/hartig/)" date: "`r Sys.Date()`" -output: - pdf_document: - toc: true +output: rmarkdown::html_vignette: toc: true -vignette: > - %\VignetteIndexEntry{Vignette for the DHARMa package} - \usepackage[utf8]{inputenc} - %\VignetteEngine{knitr::rmarkdown} -abstract: "The 'DHARMa' package uses a simulation-based approach to create readily interpretable scaled (quantile) residuals for fitted generalized linear (mixed) models. Currently supported are linear and generalized linear (mixed) models from 'lme4' (classes 'lmerMod', 'glmerMod'), 'glmmTMB', 'GLMMadaptive' and 'spaMM', generalized additive models ('gam' from 'mgcv'), 'glm' (including 'negbin' from 'MASS', but excluding quasi-distributions) and 'lm' model classes. Moreover, externally created simulations, e.g. posterior predictive simulations from Bayesian software such as 'JAGS', 'STAN', or 'BUGS' can be processed as well. The resulting residuals are standardized to values between 0 and 1 and can be interpreted as intuitively as residuals from a linear regression. The package also provides a number of plot and test functions for typical model misspecification problems, such as over/underdispersion, zero-inflation, and residual spatial and temporal autocorrelation. \n \n \n" -editor_options: + pdf_document: + toc: true +vignette: | + %\VignetteIndexEntry{Vignette for the DHARMa package} \usepackage[utf8]{inputenc} %\VignetteEngine{knitr::rmarkdown} +abstract: "The 'DHARMa' package uses a simulation-based approach to create readily + interpretable scaled (quantile) residuals for fitted generalized linear (mixed) + models. Currently supported are linear and generalized linear (mixed) models from + 'lme4' (classes 'lmerMod', 'glmerMod'), 'glmmTMB', 'GLMMadaptive' and 'spaMM'; phylogenetic + linear models from 'phylolm' (classes 'phylolm' and 'phyloglm'); generalized additive + models ('gam' from 'mgcv'); 'glm' (including 'negbin' from 'MASS', but excluding + quasi-distributions) and 'lm' model classes. Moreover, externally created simulations, + e.g. posterior predictive simulations from Bayesian software such as 'JAGS', 'STAN', + or 'BUGS' can be processed as well. The resulting residuals are standardized to + values between 0 and 1 and can be interpreted as intuitively as residuals from a + linear regression. The package also provides a number of plot and test functions + for typical model misspecification problems, such as over/underdispersion, zero-inflation, + and residual spatial, temporal and phylogenetic autocorrelation. \n \n \n" +editor_options: chunk_output_type: console ---