starcoord: The star coordinates plot

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/starcoord.R

Description

This function displays a star coordinates plot introduced by Kondogan (2001).

Usage

1
2
starcoord(data, main = NULL, class = FALSE, outliers=NULL, vars = 0, 
scale = 1, cex = 0.8, lwd = 0.25, lty = par("lty"))

Arguments

data

The dataset

main

The title of the plot

class

This logical variable is TRUE for supervised data and FALSE for unsupervised data

outliers

The instances to be highlighted as potential outliers

vars

The variables to be scaled

scale

The scale factor

cex

A numerical value giving the amount by which plotting text and symbols should be scaled.

lwd

The width of the lines representing the axis

lty

The type of the lines representing the axis

Details

This plot is not recommended for a large number of features (say more than 50).

Value

Returns a Star Coordinates Plot of the data matrix

Author(s)

Edgar Acuna and Shiyun Wen

References

E. Kandogan (2001). Visualizing multidimensional clusters, Trends, and Outliers, using star coordinates. Proceedings of KDD 2001.

See Also

parallelplot, surveyplot

Examples

1
2
3
data(vehicle)
starcoord(vehicle, main="Vehicle Dataset", class=TRUE, outliers=NULL,vars=0, scale=1,
cex=0.8, lwd = 0.25, lty = par("lty"))

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 

dprep documentation built on May 29, 2017, 11:01 a.m.