discretise_ByRank: Discretise data by the rank of a continuous variable

View source: R/tidyDiscretise.R

discretise_ByRankR Documentation

Discretise data by the rank of a continuous variable

Description

Discretise data by the rank of a continuous variable

Usage

discretise_ByRank(
  df,
  continuousVar,
  discreteOutputVar,
  bins = NA,
  binStrategy = linearBySize(slope = 8, min = 4, max = 100),
  ...
)

Arguments

df

- may be grouped, in which case the value is interpreted as different types of continuous variable

continuousVar

- the columns that define the continuous data.

discreteOutputVar

- the name of the value to create in the dataframe for the discrete data

bins

- (optional) number of bins

binStrategy

- if the number of bins is not set they will be calculated using this bin strategy

...

- other options passed onto tidyinfostats::discretise_Manual

Value

a dataframe with an additional column with the discrete categories


terminological/tidy-info-stats documentation built on Nov. 19, 2022, 11:23 p.m.