pairscor: Scatterplot matrix with correlations

Description Usage Arguments Author(s) See Also Examples

Description

A matrix of scatterplots is produced with Pearson and Spearman correlations in the lower triangle. By default, smoothers are added to panels in the upper triangle, and histograms are added to the panels on the diagonal.

Usage

1
2
pairscor.fnc(data, hist = TRUE, smooth = TRUE,
  cex.points = 1,  col.points = "darkgrey")

Arguments

data

a data frame or matrix with numeric vectors.

hist

a logical indicating whether panels on the diagonal should contain a histogram.

smooth

a logical indicating whether panels in the upper triangle should have a smoother added.

cex.points

a number indicating the size of the points in the panels in the upper triangle, available only when smoothers are added.

col.points

a number or string indicating the color of the points in the panels in the upper triangle, available only when smoothers are added.

Author(s)

R. Harald Baayen

See Also

See Also pairs and panel.smooth.

Examples

1
2
3
4
5
## Not run: 
  data(lexicalMeasures)
  pairscor.fnc(lexicalMeasures[,c("CelS", "Vf", "Ient", "NsyS", "Ncou")])

## End(Not run)

languageR documentation built on May 2, 2019, 10:02 a.m.