soft_scale | R Documentation |
Replaces outliers beyond a certain number of standard deviations, ie cap, with a value at that sd.
soft_scale(input_data, cap = scale_cap)
input_data |
Numeric vector to be scaled |
cap |
Number indicating the number of sd that you'd like the value to be limited |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ soft_scale ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.