View source: R/geom_point_high_leverage.R
compute_group_leverage_points | R Documentation |
Function to find Points with High leverage Distances
compute_group_leverage_points(data, scales)
data |
the data set to be used |
scales |
the points with high leverage values
library(dplyr)
library(magrittr)
cars%>%
mutate(x = speed, y = dist) %>%
select(x,y) %>%
compute_group_leverage_points()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.