Learn R Programming

rminer (version 1.1)

vecplot: VEC plot function (to use in conjunction with Importance function).

Description

VEC plot function (to use in conjunction with Importance function).

Usage

vecplot(I, graph = "VEC", leg = NULL, xval = 1, sort = FALSE, data = NULL, 
digits = c(1, 1), TC = 1, intbar = NULL, lty = 1, pch = 19, col = NULL, 
datacol = NULL, main = "", main2 = "", Grid = 0, 
xlab = "", ylab = "", zlab = "", 
levels = NULL, levels2 = NULL, showlevels = FALSE, 
screen = list(z = 40, x = -60), zoom = 1)

Arguments

I
the output list of the Importance function.
graph
type of VEC graph:
  • VEC-- 1-D VEC curve;
  • VEC3-- 2-D VEC surface;
  • VECC-- 2-D VEC contour;
leg
see mgraph
xval
the attribute input index (e.g. 1), only used if graph="VEC" or (graph="VEC3" or "VECC" and length(interactions)=1, see Importance). if a vector, then several VEC
sort
if factor inputs are sorted:
  • increasing-- sorts the first attribute (if factor) according to the response values, increasing order;
  • decreasing-- similar toincreasingbut uses reverse order;
data
see mgraph
digits
see mgraph
TC
see mgraph
intbar
see mgraph
lty
see mgraph
pch
point type for the graph="VEC" curve, can be a vector if there are several VEC curve plots
col
color (e.g. "black", "grayrange", "white")
datacol
color of the data histogram for graph="VEC"
main
see mgraph
main2
key title for graph="VECC"
Grid
see mgraph
xlab
x-axis label
ylab
y-axis label
zlab
z-axis label
levels
if x1 is factor you can choose the order of the levels to this argument
levels2
if x2 is factor you can choose the order of the levels to this argument
showlevels
if you want to show the factor levels in x1 or x2 axis in graph="VEC3":
  • FALSEorTRUE-- do not (do) show the levels in x1, x2 and z axis for factor variables;
  • vector with 3 logical values -- if you wa
screen
select the perspective angle of the VEC3 graph:
  • x-- assumeslist(z=0,x=-90,y=0);
  • X-- assumeslist(x=-75);
  • y-- assumeslist(z=0,x=-90,y=-90);<
zoom
zoom of the wireframe (graph="VEC3")

Value

  • A VEC curve/surface/contour plot.

Details

For examples and references check: Importance

See Also

Importance