Description Usage Arguments Value Examples
View source: R/test-corr_plot.R
Function for making a correlation plot starting from a formula and a data.frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | corr_plot(x, ...)
## S3 method for class 'formula'
corr_plot(x, data, ...)
## S3 method for class 'lm'
corr_plot(x, data = x$model, type = c("p", "r"),
scales = list(x = list(relation = "free")), ylab = names(data)[1],
xlab = "", layout = c(ncol(data) - 1, 1), ...)
## S3 method for class 'data.frame'
corr_plot(data, jitter = FALSE, smooth = TRUE,
lines = TRUE, pch = 20, digits = 2, cex.cor = NULL,
method = "pearson", stars = FALSE, resize = FALSE, hist = TRUE,
...)
|
x |
formula |
... |
weitere Param an Lattice oder pairs |
data |
a data matrix |
type |
an xyplot c("p", "r") |
scales |
an xyplot |
ylab, xlab |
an xyplot |
layout |
an xyplot |
jitter |
Rauschen |
smooth |
Gezeichnete Lineie |
lines |
Regressinsgerade |
pch |
Symbole pch=20 |
digits |
Nachkommastellen in plot |
cex.cor, resize |
Fixe groese mit cex.cor, resize abhaengig von r-Wert |
method |
c("pearson", "kendall", "spearman") |
stars |
Sternchen |
hist |
Histogram TRUE/FLASE |
data |
aus x$model |
nix
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.