sc_striated: Compute striated scagnostic measure using MST

View source: R/mst.R

sc_striatedR Documentation

Compute striated scagnostic measure using MST

Description

Compute striated scagnostic measure using MST

Usage

sc_striated(x, y)

## Default S3 method:
sc_striated(x, y)

## S3 method for class 'scree'
sc_striated(x, y = NULL)

## S3 method for class 'igraph'
sc_striated(x, y)

Arguments

x

numeric vector of x values

y

numeric vector of y values

Value

A "numeric" object that gives the plot's striated score.

Examples

  require(ggplot2)
  require(dplyr)
  data(anscombe_tidy)
  ggplot(anscombe_tidy, aes(x=x, y=y)) +
    geom_point() +
    facet_wrap(~set, ncol=2, scales = "free")
  sc_striated(anscombe$x1, anscombe$y1)
  sc_striated(anscombe$x2, anscombe$y2)


cassowaryr documentation built on Aug. 9, 2022, 5:08 p.m.