Learn R Programming

bullseye (version 0.1.2)

pair_scagnostics: Graph-theoretic scagnostics values

Description

Calculates scagnostic values for every numeric variable pair in a dataset.

Usage

pair_scagnostics(
  d,
  scagnostic = c("Outlying", "Skewed", "Clumpy", "Sparse", "Striated", "Convex",
    "Skinny", "Stringy", "Monotonic"),
  handle.na = TRUE,
  ...
)

Value

A tibble of class pairwise with scagnostic values for every numeric variable pair, or NULL if there are not at least two numeric variables

Arguments

d

A dataframe

scagnostic

a character vector for the scagnostic to be calculated. Subset of "Outlying", "Stringy", "Striated", "Clumpy", "Sparse", "Skewed", "Convex", "Skinny" or "Monotonic"

handle.na

If TRUE uses pairwise complete observations.

...

other arguments

Details

The scagnostic values are calculated using scagnostics function from the scagnostics package.

References

Wilkinson, Leland, Anushka Anand, and Robert Grossman. "Graph-theoretic scagnostics." Information Visualization, IEEE Symposium on. IEEE Computer Society, 2005

Examples

Run this code
pair_scagnostics(iris)

Run the code above in your browser using DataLab