Description Usage Arguments Details Value Author(s)
The user, or the automatic fixing process, might lead to situations where a pdi has for variable list(a=1, a=2) whilst pij has list(a=2,a=1). As all the solving process relies on the hypothesis the order is OK, checking of such a dataset would fail.
1 | reorder_columns(df, expected_order)
|
df |
a data frame |
expected_order |
a list of strings corresponding to the same col names with a different order |
This function helps fixing these situations by just changing the order of the dataset's columns
the data frame in a different order
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.