l_fitRaster {mgcViz} | R Documentation |
Adding raster representing the fitted effect
Description
This layer adds a raster or heat-map representing a fitted multidimensional effect.
Usage
l_fitRaster(pTrans = function(.p) 1, noiseup = FALSE, mul = 1, ...)
Arguments
pTrans |
a function from (0, 1) to (0, 1) which takes as input a p-value and returns a value,
|
noiseup |
if |
mul |
positive multiplier that scales the variance of the fitted effect. See the |
... |
graphical arguments to be passed to |
Value
An object of class gamLayer
.
See Also
See plot.mgcv.smooth.2D, plot.sos.smooth or plotSlice for examples.