stddev_breaks: Standard Deviation Breaks

View source: R/utils.R

stddev_breaksR Documentation

Standard Deviation Breaks

Description

Standard deviation breaks first transforms data to standard deviation units (mean=0, stddev=1), and then divide the range of values into 6 groups.

Usage

stddev_breaks(df)

Arguments

df

A data frame with selected variable. E.g. guerry["Crm_prs"]

Value

A vector of numeric values of computed breaks

Examples

library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
stddev_breaks(guerry['Crm_prs'])

GeoDaCenter/rgeoda documentation built on Dec. 20, 2024, 11:18 p.m.