truncation: Truncation function for NHSD method
Description
Internal function to perform the truncation.
Usage
truncation(mod_plot_agg = mod_plot_agg, trim_by = 0.1)
Value
A data.frame with truncated z-scores added
Arguments
- mod_plot_agg
Aggregated model input data
- trim_by
The amount to truncate the distribution by, prior to transformation. 0.1 means 10% (at each end).