classint: Create vector with Interval Class from classIntervals...

View source: R/classint.R

classintR Documentation

Create vector with Interval Class from classIntervals functions

Description

Create vector with Interval Class from classIntervals functions

Usage

classint(
  var,
  n,
  style = "quantile",
  labels = NULL,
  include.lowest = T,
  brks = NULL
)

Arguments

var

numeric: variable to apply class intervals.

n

int: number of intervals.

style

chr: breaks style. chosen style: one of "fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", or "jenks". Default: "quantile".

labels:

chr vector with labels for class.

include.lowest:

logical, indicating if an ???x[i]??? equal to the lowest

brks:

vector of the same length of n with breaks numbers. Work in the same way that argument breaks from cut function.


diegogarcilazo/myutilities documentation built on Jan. 4, 2024, 2:11 p.m.