Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

transformQuantiles

Transform quantiles to pdf (deprecated)


Description

The purpose of this function was to transform the DHARMa quantile residuals (which have a uniform distribution) to a particular pdf. Since DHARMa 0.3.0, this functionality is integrated in the residuals.DHARMa function. Please switch to using this function.

Usage

transformQuantiles(res, quantileFunction = qnorm, outlierValue = 7)

Arguments

res

an object with simulated residuals created by simulateResiduals

quantileFunction

optional - a quantile function to transform the uniform 0/1 scaling of DHARMa to another distribution

outlierValue

if a quantile function with infinite support (such as dnorm) is used, residuals that are 0/1 are mapped to -Inf / Inf. outlierValues allows to convert -Inf / Inf values to an optional min / max value.


DHARMa

Residual Diagnostics for Hierarchical (Multi-Level / Mixed) Regression Models

v0.4.1
GPL (>= 3)
Authors
Florian Hartig [aut, cre] (<https://orcid.org/0000-0002-6255-9059>), Lukas Lohse [ctb]
Initial release
2021-04-8

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.