pair_scagnostics {bullseye} | R Documentation |
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,
warnings = TRUE,
...
)
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. |
warnings |
If TRUE, generates a warning for datasets of one row, one column, or with constant variables. |
... |
other arguments |
Details
The scagnostic values are calculated using scagnostics
function from the scagnostics
package.
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
References
Wilkinson, Leland, Anushka Anand, and Robert Grossman. "Graph-theoretic scagnostics." Information Visualization, IEEE Symposium on. IEEE Computer Society, 2005
Examples
pair_scagnostics(iris)