calculateDiscreteSelfInformation: calculate self information of a discrete variable

View source: R/tidyDiscreteSelfInformation.R

calculateDiscreteSelfInformationR Documentation

calculate self information of a discrete variable

Description

calculate self information of a discrete variable

Usage

calculateDiscreteSelfInformation(df, discreteVars, method = "Histogram", ...)

Arguments

df

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

discreteVars

- the columns of the discrete value quoted by the vars() function (e.g. ggplot facet_wrap)

method

- the method employed - valid options are "Histogram"

...

- the other parameters are passed onto the implementations

Value

a dataframe containing the distinct values of the discrete variable, per group, with columns I_x, and method


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