Description Usage Arguments Details Value Author(s)
The user, or the automatic fixing process, might lead to situations where a pdi has for variable "b=1,a=2" whilst the order is "a=2,b=1" in other datasets. As all the solving process relies on the hypothesis the order is OK, checking of such a dataset would fail.
1 | reorder_column_modalities(dataset, expected_order)
|
dataset |
a dataset containing a dataframe |
expected_order |
a list of strings corresponding to the modalities names |
This function helps fixing these situations by just changing the order of modalities inside each column name
the same dataset with different names for the same data
Samuel Thiriot <samuel.thiriot@res-ear.ch>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.