sc_skewed {cassowaryr} | R Documentation |
Compute skewed scagnostic measure using MST
Description
Compute skewed scagnostic measure using MST
Usage
sc_skewed(x, y)
## Default S3 method:
sc_skewed(x, y)
## S3 method for class 'scree'
sc_skewed(x, y = NULL)
## S3 method for class 'igraph'
sc_skewed(x, y)
Arguments
x |
numeric vector of x values |
y |
numeric vector of y values |
Value
A "numeric" object that gives the plot's skewed score.
Examples
require(ggplot2)
require(tidyr)
require(dplyr)
data(anscombe_tidy)
ggplot(datasaurus_dozen, aes(x=x, y=y)) +
geom_point() +
facet_wrap(~dataset, ncol=3, scales = "free")
sc_skewed(datasaurus_dozen_wide$dots_x, datasaurus_dozen_wide$dots_y)
sc_skewed(datasaurus_dozen_wide$h_lines_x, datasaurus_dozen_wide$h_lines_y)
sc_skewed(datasaurus_dozen_wide$x_shape_x, datasaurus_dozen_wide$x_shape_y)
[Package cassowaryr version 2.0.0 Index]