z_B2._Plotting_: Plot observed, fitted values or estimated spline from 'scp'...

Description Usage Arguments Author(s)

Description

Draw an image, perspective or levelplot of the observed, fitted values or estimated bivariate spline from the elements in a scp object.

Usage

1
2
3
## S4 method for signature 'sssFit,missing'
plot(x, what, type, which, col.args, col.contour,
	    level.at, border, theta, phi, shade, ...)

Arguments

x

sssFit object from scp.

what

character. What to plot? One of obs (for observed responses), fit (for fitted values, the default) or g (for the estimated bivariate spline).

type

character. Which type of plot? One of image (the default), levelplot, persp or persp3d.

which

character. Which color pattern? One of colorRampPalette (default), colorRamp, rainbow, heat.colors, terrain.colors, topo.colors, or cm.colors.

col.args

named list. List with argument to pass to the color pattern function defined by which. See colorRampPalette, colorRamp, rainbow, heat.colors, terrain.colors, topo.colors, and cm.colors.

col.contour

character. Only for type="image". Color for the contours.

level.at

character or numeric vector. Only for type="levelplot". Where to draw the levels at. If character, it is the name of the function to compute where to put the levels.

border

character. Color of the border.

theta, phi, shade

numeric. See persp or persp3d.

...

other arguments for levelplot, image, persp or persp3d.

Author(s)

Mario A. Martinez Araya, r@marioma.me


scpm documentation built on Feb. 17, 2020, 5:08 p.m.