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.
1 | util.panel.cor(x, y, digits = 2, cex.cor, ...)
|
x |
first dataset |
y |
second dataset |
digits |
number of digits after the decimal separator |
cex.cor |
desired font/text size |
... |
further arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.