Description Usage Arguments Details See Also Examples
corrmorant()
is a wrapper around ggcorrm()
that creates
scatterplot matrices with correlation output using reasonable standard
values for initial data inspection.
1 2 3 4 5 6 7 8 9 |
data |
For |
style |
Character string defining the plot style. One of |
rescale |
character string specifying the type of transformation
performed on the numeric variables in the plot. The standard argument
|
corr_method |
character string with the correlation method passed to
|
labels |
(Optional) character vector or function. If a character, must
contain labels for the names of all numeric columns that are used to
replace the column names in the plot axis and text labels and must be of
the same length as the number of numeric columns displayed in the plot. If
a function, must take the original names of the numeric columns as an
argument and return a character vector with the same length. Defaults to
|
bins |
Integer. Number of bins for |
... |
Additional arguments to |
corrmorant()
is a simplified wrapper around ggcorrm()
that
creates scatterplot matrices with reasonable standard settings. Setting the
style
argument to "dark"
, "light"
or "blue_red"
produces regular
scatterplots with different color schemes. style = "binned"
replicates
style = "blue_red"
with a binned scatterplot (the number of bins defaults
to 10, but can be changed with the bins
argument), which can be very
useful to reduce the plotting time for large datasets. Refer to the
documentation of ggcorrm()
and tidy_corrm()
for more details.
ggcorrm, tidy_corrm
1 2 3 4 5 6 7 8 9 | ## Not run:
if(interactive()){
# plot the drosera dataset with 3 different styles
corrmorant(drosera, style = "dark")
corrmorant(drosera, style = "light")
corrmorant(drosera, style = "blue_red")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.