discretise: discretise a continuous variable using a user supplied...

View source: R/tidyDiscretise.R

discretiseR Documentation

discretise a continuous variable using a user supplied strategy

Description

discretise a continuous variable using a user supplied strategy

Usage

discretise(df, continuousVar, discreteOutputVar, method, ...)

Arguments

df

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

continuousVar

- the columns that define the discrete subgroups of the data.

discreteOutputVar

- the name of the value to create in the dataframe

method

- the method employed - valid options are "ByRank", "ByValue", "Manual"

...

- the other parameters are passed onto the implementations

Value

a single value for the entropy of the vector


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