Learn R Programming

GJRM (version 0.2-6.5)

vis.gjrm: Visualization function

Description

It takes a fitted gjrm object produced by gjrm() and produces perspective or contour plot views of model predictions. This function is a wrapper of vis.gam() in mgcv. Please see the documentation of vis.gam() for full details.

Usage

vis.gjrm(x, eq, fun = NULL, ...)

Value

The function generates plots.

Arguments

x

A fitted gjrm object.

eq

The equation number.

fun

Either mean or variance. If left as equal to NULL then predictions on the scale of the predictor will be produced.

...

Other graphics parameters to pass on to plotting commands, as described for vis.gam() in mgcv.

Author

Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk

See Also

gjrm