ms_pattern_ori {convergEU} | R Documentation |
Find patterns for all countries
Description
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.
Usage
ms_pattern_ori(myTB, timeName = "time", typeIn = c("highBest", "lowBest")[1])
Arguments
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' |
Details
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.
Value
the type of pattern
References
[Package convergEU version 0.7.3.2 Index]