calc_scags_wide {cassowaryr}R Documentation

Compute scagnostics on all possible scatter plots for the given data

Description

Compute scagnostics on all possible scatter plots for the given data

Usage

calc_scags_wide(
  all_data,
  scags = c("outlying", "stringy", "striated", "striated2", "clumpy", "clumpy2",
    "sparse", "skewed", "convex", "skinny", "monotonic", "splines", "dcor"),
  out.rm = TRUE,
  euclid = FALSE
)

Arguments

all_data

tibble of multivariate data on which to compute scagnostics

scags

collection of strings matching names of scagnostics to calculate: outlying, stringy, striated, striated2, striped, clumpy, clumpy2, sparse, skewed, convex, skinny, monotonic, splines, dcor

out.rm

logical indicator to indicate if outliers should be removed before calculating non outlying measures

euclid

logical indicator to use Euclidean distance

Value

A data frame that gives the data's scagnostic scores for each possible variable combination.

See Also

calc_scags

Examples

# Calculate selected scagnostics
data(pk)
calc_scags_wide(pk[,2:5], scags=c("outlying","monotonic"))


[Package cassowaryr version 2.0.0 Index]