View source: R/anim-prep-cat.R
anim_prep_cat | R Documentation |
This function transformed the category data in the categorized format by ordering the values.
anim_prep_cat(
data,
id = NULL,
values = NULL,
time = NULL,
group = NULL,
order = NULL,
label = NULL
)
data |
A data frame contained the category values. |
id |
The column name that represents the identifiers variable. |
values |
The column name contains the category values. |
time |
The column name that represents the time variable. |
group |
The column name that represents the distinguished group between the values. |
order |
A vector of order for sorting the category values. |
label |
A vector of labels to represent the qtile. |
The function takes the input data, ordering the values, and assigning the variable names.
A categorized data.
anim_prep_cat(data = aeles, id = id, values = party, time = year)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.