percentile_breaks: Percentile Breaks

View source: R/utils.R

percentile_breaksR Documentation

Percentile Breaks

Description

Percentile breaks data into 6 groups: the lowest 1 10-50

Usage

percentile_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)
percentile_breaks(guerry['Crm_prs'])

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