Learn R Programming

mbgraphic (version 1.0.1)

iascagpcp: Interactive parallel coordinate plots for exploring scagnostics results

Description

An interactive parallel coordinate plot for exploring scagnostics results programmed with the package shiny. If sdfdata is generated by function sdf, Outliers and Exemplars can be explored separately. Selections within the parallel coordinate plot can be made by drawing boxes on the axes around the chosen line.

Usage

iascagpcp(sdfdata)

Arguments

sdfdata

A list of class "sdfdata".

Value

A shiny app object.

Details

For scaling the three options 'std' (every scagnostic individually by subtraction of mean and division by standard deviation), 'uniminmax' (every scagnostic individually to unit interval) and 'globalminmax' (no scaling) can be used. See also ggparcoord.

References

W. Chang, J. Cheng, J. Allaire, Y. Xie and J. McPherson (2016) shiny: Web Application Framework for R. https://cran.r-project.org/package=shiny.

B. Schloerke et al. (2016) GGally: Extension to ggplot2. https://cran.r-project.org/package=GGally

See Also

sdf, scag2sdf

Examples

Run this code
# NOT RUN {
data(Election2005)
# some demographic/economic variables 
sdfdata <- sdf(Election2005[,5:40])
iascagpcp(sdfdata) 
# }

Run the code above in your browser using DataLab