scagnostics {scagnostics}R Documentation

Calculcate scagnostics for a scatterplot

Description

Scagnostics summarise potentially interesting patterns in 2d scatterplot

Usage

scagnostics(x, ...)

Arguments

x object to calculate scagnostics on: a vector, a matrix or a data.frame
... ...

Details

Current scagnostics are:

These are described in more detail in: Graph-Theoretic Scagnostics, Leland Wilkinson, Anushka Anand, Robert Grossman. http://www.ncdm.uic.edu/publications/files/proc-094.pdf

You can call the function with two 1d vectors to get a single vector of scagnostics, or with a 2d structure (matrix or data frame) to get scagnostics for every combination of the variables.

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

scagnostics(1:10, 1:10)
scagnostics(rnorm(100), rnorm(100))
scagnostics(mtcars)
scagnostics(as.matrix(mtcars))

if (require(rggobi)) ggobi(scagnostics(mtcars))

[Package scagnostics version 0.1.1 Index]