Currently, dimnames are retrieved from the proportional data.frame by levels.
Check if this approach is always valid. It should always find the correct labels for the resulting table
Think about, what to do with unused levels (levels which were changed to NA, where the level-vector stays the same). Should they simply be dropped by default? Should there be an option to keep them? (if yes, why?)
Currently,
dimnames
are retrieved from the proportionaldata.frame
bylevels
.NA
, where the level-vector stays the same). Should they simply be dropped by default? Should there be an option to keep them? (if yes, why?)