top_scags | R Documentation |
Calculate the top pair of variables or group for each scagnostic
top_scags(scags_data)
scags_data |
A dataset of scagnostic values that was returned by calc_scags or calc_scags_wide |
A data frame where each row is a scagnostic with its highest pair and the associated value
calc_scags calc_scags_wide top_pairs
#an example using calc_scags require(dplyr) datasaurus_dozen %>% group_by(dataset) %>% summarise(calc_scags(x,y, scags=c("monotonic", "outlying", "convex"))) %>% top_scags() #an example using calc_scags_wide data(pk) scags_data <- calc_scags_wide(pk[,2:5], scags=c("outlying","clumpy","monotonic")) top_scags(scags_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.