This function produces 3D plots for 2D smooth effects of function-on-scalar
models fitted with pffr
.
This function mainly does the same as mgcv::plot.gam(..., pers = TRUE)
.
However, plot.gam
only uses the shade
argument
for 1D smooths and doesn't pass it to the persp
function. Such
arguments not passed to persp
can be used with this function.
1 |
model |
Function-on-scalar model fitted with |
select |
Index of the smooth effect to be plotted |
theta, phi |
Some specific arguments for |
... |
Further arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.