util.panel.cor: Define a Scatterplot Panel to Show Correlation Coefficients

Description Usage Arguments

View source: R/util.R

Description

This function calculates the correlation between two datasets x and y and writes the textual representation into the corresponding field of the scatterplot panel. Depending on the derived value different font sizes and color schemes are applied.

Usage

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

Arguments

x

first dataset

y

second dataset

digits

number of digits after the decimal separator

cex.cor

desired font/text size

...

further arguments


MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.