uppertriangle: uppertriangle - rearrange dataset as the preparation of...

Description Usage Arguments Author(s) Examples

View source: R/ggscatmat.R

Description

function for making the dataset used to plot the uppertriangle plots.

Usage

1
2
uppertriangle(data, columns = 1:ncol(data), color = NULL,
  corMethod = "pearson")

Arguments

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 1:ncol(data)

color

an option to choose a factor variable to be grouped with. Defaults to (NULL)

corMethod

method argument supplied to cor

Author(s)

Mengjia Ni, Di Cook dicook@monash.edu

Examples

1
2
3
4
data(flea)
head(uppertriangle(flea, columns=2:4))
head(uppertriangle(flea))
head(uppertriangle(flea, color="species"))

GGally documentation built on May 20, 2017, 2:14 a.m.

Search within the GGally package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.