| dic_order | R Documentation |
Orders the factor levels.
dic_order(x, dic, type)
x |
a variable (code or labelled) to get order for. |
dic |
a name of the dictionary. Correspond a variable name in the
data_frame from |
type |
a type of the x. Could be |
Some variables, like classifications, have logical or conventional
ordering. Eurostat data tables are nor necessary ordered in this order.
The function dic_order() get the ordering from Eurostat classifications
dictionaries. The function label_eurostat() can also order factor levels
of labels with argument eu_order = TRUE.
A numeric vector of orders.
Przemyslaw Biecek, Leo Lahti, Janne Huovari and Markus Kainu
Other helpers:
cut_to_classes(),
eurotime2date(),
eurotime2num(),
harmonize_country_code(),
label_eurostat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.