View source: R/od_adjustment.R

winsorisation | R Documentation |

Internal function to perform the Winsorisation.

```
winsorisation(mod_plot_agg = mod_plot_agg, trim_by = 0.1)
```

`mod_plot_agg` |
Aggregated model input data |

`trim_by` |
The amount to Winsorise the distribution by, prior to transformation. 0.1 means 10% (at each end). |

A data.frame with winsorised z-scores returned added

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.