R/fun_niveis.R

Defines functions Nivel

Nivel <- function(profi, pontosdecorte = seq(075,450,25)){
  maxlabels = length(pontosdecorte)
  pontosdecorte <- c(-Inf,pontosdecorte,Inf)
  profiniveis <- cut(profi, pontosdecorte, labels=0:maxlabels, right=FALSE)
  profiniveis
}
leandromarino/CesgTools documentation built on May 25, 2022, 5:03 a.m.