Learn R Programming

vdmR (version 0.2.6)

vpcp: Generate prallel coordinate plot with interactive functions

Description

vpcp generates parallel coordinate plot of specific data columns of data frame data with interactive functions.

Usage

vpcp(data, columns, name, tag, path = tempdir(), groupColumn = NULL,
  scale = "std", alphaLines = 0.5, missing = "exclude")

Arguments

data

data frame for default data set

columns

a vector of variables (either names or indices) to be axes in the plot

name

character for the name of the generated scatter plot

tag

character for the common name of a series of linked plots

path

character string of a directory for writing HTML and SVG files

groupColumn

a single variable to group (color) by

scale

method used to scale the variables

alphaLines

value of alpha scaler for the lines of the parcoord plot or a column name of the data

missing

method used to handle missing values

Examples

Run this code
# NOT RUN {
data(vsfuk2012)
vpcp(vsfuk2012, 4:17, "pcp1", "vsfuk2012", scale="uniminmax")
vlaunch(vsfuk2012, "main", "vsfuk2012", browse=FALSE)

# }

Run the code above in your browser using DataLab