uppertriangle | R Documentation |
ggscatmat
functionFunction for making the dataset used to plot the uppertriangle plots.
uppertriangle(
data,
columns = 1:ncol(data),
color = NULL,
corMethod = "pearson"
)
data |
a data matrix. Should contain numerical (continuous) data. |
columns |
an option to choose the column to be used in the raw dataset. Defaults to |
color |
an option to choose a factor variable to be grouped with. Defaults to |
corMethod |
method argument supplied to |
Mengjia Ni, Di Cook
data(flea)
head(uppertriangle(flea, columns = 2:4))
head(uppertriangle(flea))
head(uppertriangle(flea, color = "species"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.