powered by
Standard deviation breaks first transforms data to standard deviation units (mean=0, stddev=1), and then divide the range of values into 6 groups.
stddev_breaks(df)
A vector of numeric values of computed breaks
A data frame with selected variable. E.g. guerry["Crm_prs"]
library(sf) guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda") guerry <- st_read(guerry_path) stddev_breaks(guerry['Crm_prs'])
Run the code above in your browser using DataLab