l_pvContour: Adding contour of p-values

View source: R/L_pvContour.R

l_pvContourR Documentation

Adding contour of p-values

Description

This function adds contour lines 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_pvContour(pTrans = identity, ...)

Arguments

pTrans

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

...

graphical arguments to be passed to ggplot2::geom_contour.

Value

An object of class gamLayer.

See Also

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


mgcViz documentation built on Oct. 6, 2023, 5:09 p.m.

Related to l_pvContour in mgcViz...