l_pvRaster {mgcViz}R Documentation

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

See plotDiff.mgcv.smooth.2D and plotDiff.sos.smooth for examples.


[Package mgcViz version 0.1.11 Index]