Description Usage Arguments Value
gaussianEncode
1 | gaussianEncode(dt, vars, newMean = 0, newSD = 1, encodeNA = NA)
|
dt |
Dataset to create object on. |
vars |
variables you want to include in the encoding. |
encodeNA |
If FALSE, NAs will remain NA even if they would have been grouped. If TRUE, NAs will be grouped, but only if they are 'rare'. If they are not rare, NAs will be untouched. |
minPerc |
Minimum percentage of the total population required for a group to be considered 'rare'.
For example, if |
minCount |
Can be provided instead of minPerc if you have a better idea of credibility in terms of total
samples required. Levels with counts below this value will be grouped into |
newString |
Value you want to group rare levels together as. |
Rare Encoded Object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.