Learn R Programming

prim (version 1.0.14)

plot.prim: PRIM plot for multivariate data

Description

PRIM plot for multivariate data.

Usage

## S3 method for class 'prim':
plot(x, splom=TRUE,  ...)

Arguments

x
an object of class prim
splom
flag for plotting 3-d data as scatter plot matrix. Default is TRUE.
...
other graphics parameters

Value

  • Plot of 2-dim PRIM is a set of nested rectangles. Plot of 3-dim PRIM is a scatter point cloud. Plot of d-dim PRIM is a scatter plot matrix. The scatter plots indicate which points belong to which box.

Details

The function headers are ## bivariate plot(x, col, xlim, ylim, xlab, ylab, add=FALSE, add.legend=FALSE, cex.legend=1, pos.legend, lwd=1, ...)

## trivariate plot(x, color, xlim, ylim, zlim, xlab, ylab, zlab, add.axis=TRUE, ...)

## d-variate plot(x, col, xmin, xmax, xlab, ylab, ...) The arguments are [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Default colours are topo.colors(), with one colour per box in the PRIM box sequence.

See Also

prim.box, predict.prim

Examples

Run this code
## see ?predict.prim

Run the code above in your browser using DataLab