iacorrgram: Interactive corrgrams

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

View source: R/iacorrgram.R

Description

Generates an interactive corrgram programmed with the package shiny. It uses the package seriation for reordering, optimal leaf ordering ('OLO') and reordering based on principal components ('PCA'). If 'OLO' is selected, cluster lines can be drawn by selecting the number of clusters or a minimum correlation (see varclust for details). A range of correlation can be chosen, where only pairs of variables with absolute correlation within the range are drawn with colored cells, otherwise the cells are colored white.

Usage

1

Arguments

data

A data frame.

Value

A shiny app object.

Author(s)

Katrin Grimm

References

M. Friendly (2002) Corrgrams: Exploratory displays for correlation matrices The American Statistician 56(4), 316–324.

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.

See Also

varclust

Examples

1
2
3
4
5
## Not run: 
data(Election2005)
iacorrgram(Election2005)

## End(Not run)

mbgraphic documentation built on May 2, 2019, 2:45 a.m.