Learn R Programming

PerformanceAnalytics (version 0.9.5)

chart.Correlation: correlation matrix chart

Description

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

Usage

chart.Correlation(x, y, histogram = TRUE)

Arguments

x
data for the x axis, can take matrix,vector, or timeseries
y
data for the y axis, can take matrix,vector, or timeseries
histogram
TRUE/FALSE whether or not to display a histogram

Value

  • correlation chart

See Also

table.Correlation chart.Correlation.color