sc_skinny | R Documentation |
Compute skinny scagnostic measure
sc_skinny(x, y) ## Default S3 method: sc_skinny(x, y) ## S3 method for class 'scree' sc_skinny(x, y = NULL) ## S3 method for class 'list' sc_skinny(x, y = NULL)
x |
numeric vector of x values |
y |
numeric vector of y values |
A "numeric" object that gives the plot's skinny score.
require(ggplot2) require(dplyr) ggplot(features, aes(x=x, y=y)) + geom_point() + facet_wrap(~feature, ncol = 5, scales = "free") features %>% group_by(feature) %>% summarise(skinny = sc_skinny(x,y)) sc_skinny(datasaurus_dozen_wide$away_x, datasaurus_dozen_wide$away_y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.