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

l_pvRaster

Adding raster or heat-map of p-values


Description

This function adds a raster or heat-map proportional to the p-value of a multidimensional smooth effects. It is useful for checking where (across covariates x1 and x2) the fitted smooth is significantly different from zero.

Usage

l_pvRaster(pTrans = identity, ...)

Arguments

pTrans

a transformation to be applied to the p-values before plotting.

...

graphical arguments to be passed to ggplot2::geom_raster.

Value

An object of class gamLayer.

See Also


mgcViz

Visualisations for Generalized Additive Models

v0.1.6
GPL-3
Authors
Matteo Fasiolo [aut, cre], Raphael Nedellec [aut], Yannig Goude [ctb], Christian Capezza [ctb], Simon N. Wood [ctb]
Initial release
2020-03-04

We don't support your browser anymore

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