View source: R/tidyDiscreteSelfInformation.R
calculateDiscreteSelfInformation | R Documentation |
calculate self information of a discrete variable
calculateDiscreteSelfInformation(df, discreteVars, method = "Histogram", ...)
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 |
a dataframe containing the distinct values of the discrete variable, per group, with columns I_x, and method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.