chart.Correlation: correlation matrix chart

Description Usage Arguments Note Author(s) See Also Examples

View source: R/chart.Correlation.R

Description

Visualization of a Correlation Matrix. On top the (absolute) value of the correlation plus the result of the cor.test as stars. On bottom, the bivariate scatterplots, with a fitted line

Usage

1
2
chart.Correlation(R, histogram = TRUE, method = c("pearson", "kendall",
  "spearman"), ...)

Arguments

R

data for the x axis, can take matrix,vector, or timeseries

histogram

TRUE/FALSE whether or not to display a histogram

method

a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman", can be abbreviated.

...

any other passthru parameters into pairs

Note

based on plot at http://addictedtor.free.fr/graphiques/sources/source_137.R

Author(s)

Peter Carl

See Also

table.Correlation

Examples

1
2
data(managers)
chart.Correlation(managers[,1:8], histogram=TRUE, pch="+")

PerformanceAnalytics documentation built on May 31, 2017, 3:16 a.m.