View source: R/ms_pattern_ori.R
ms_pattern_ori | R Documentation |
The input is a time by countries dataset where all countries contributing to the average must be present. Indicators of type 'low is better' are transformed (highestRef - Y), thus the distance from the maximum value for each original observation is calculated.
ms_pattern_ori(myTB, timeName = "time", typeIn = c("highBest", "lowBest")[1])
myTB |
a dataset (tibble) for an indicator, time by countries. The first and last time are respectively the first and last rows of the dataset, which must be time sorted. |
timeName |
a string with name of the time variable |
typeIn |
the type of indicator considered 'highBest' (default) or 'lowBest' |
This is the reference implementation as described by the Eurofound report "Monitoring convergence in the European Union Upward convergence in the EU: Concepts, measurements and indicators", 2018.
the type of pattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.