Learn R Programming

qdm (version 0.1-0)

persp.qdm: Perspective Plot for Predictions of Quadrilateral Dissimilarity Model

Description

Draws a perspective plot of the predictions of a Quadrilateral Dissimilarity Model fitted with qdm.

Usage

"persp"(x, col = "gray", zlim = 0:1, phi = 10, theta = -25, xlab = "OA1", ylab = "OA2", zlab = "Predictions", ...)

Arguments

x
object of class 'qdm'. See qdm.
col
the color(s) of the surface facets. Transparent colours are ignored. This is recycled to the (nx-1)(ny-1) facets.
zlim
Defaults to zlim=c(0,1) since probabilities are plotted.
theta, phi
angles defining the viewing direction. 'theta' gives the azimuthal direction and 'phi' the colatitude.
xlab, ylab, zlab
titles for the axes. N.B. These must be character strings; expressions are not accepted. Numbers will be coerced to character strings.
...
additional graphical parameters (see 'par').

See Also

qdm, persp