Last data update: 2014.03.03

R: accessory function for pairs() to display Pearson...
panel.corR Documentation

accessory function for pairs() to display Pearson correlations

Description

works as upper.panel or lower.panel argument of pairs() (package graphics).

Usage

panel.cor(x, y, digits=2, cex.cor) 
  

Arguments

x

x element of the pairs() matrix

y

y element of the pairs() matrix

digits

number of non-zero digits to leave at the end

cex.cor

scaling factor for displayed text

References

cannibalized from an example in ?pairs (package graphics)

Results