View source: R/weight_interval.R
| weight_interval | R Documentation |
Calculates weights by interval width
weight_interval(expert_judgements)
expert_judgements |
A dataframe in the form of data_ratings |
This function is used inside IntervalWAgg for aggregation type "IntWAgg". It
calculates the width of each three-point judgement (upper - lower), then returns
the weight as the inverse of this interval.
A tibble in the form of the input expert_judgements argument with additional columns
supplying the calculated weight for each row's observation.
Other weighting functions:
weight_asym(),
weight_nIndivInterval(),
weight_outlier(),
weight_reason(),
weight_reason2(),
weight_varIndivInterval()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.