View source: R/refactoredCode.R
calculateDiscreteContinuousPointwiseConditionalEntropy_Kernel | R Documentation |
calculate pointwise mutual information between a categorical value (X) and a continuous value (Y). I.e. the self information of X conditioned on each of the possible values for X
calculateDiscreteContinuousPointwiseConditionalEntropy_Kernel( df, discreteVars, continuousVar, collect = FALSE, ... )
df |
- may be grouped, in which case the value is interpreted as different types of continuous variable |
discreteVars |
- the column(s) of the categorical value (X) quoted by vars(...) |
continuousVar |
- the column of the continuous value (Y) |
collect |
- if TRUE will collect dbplyr tables before processing, otherwise (the default) will fail on dbplyr tables |
a dataframe containing the disctinct values of the groups of df, and for each group a mutual information column (I). If df was not grouped this will be a single entry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.