Currently, the ANCOVA analysis uses the first factor level of vars$group as the reference group. This is not always convenient, as users may want to choose a different reference group without having to manually reorder or relabel the treatment factor.
This limitation becomes even more apparent in multi-arm treatment settings (see PR #520 ).
It would be useful to allow the reference level to be specified as part of the vars object created by set_vars(). This would provide a more flexible and user-friendly interface while avoiding unnecessary modifications to the underlying treatment variable.
Currently, the ANCOVA analysis uses the first factor level of
vars$groupas the reference group. This is not always convenient, as users may want to choose a different reference group without having to manually reorder or relabel the treatment factor.This limitation becomes even more apparent in multi-arm treatment settings (see PR #520 ).
It would be useful to allow the reference level to be specified as part of the
varsobject created byset_vars(). This would provide a more flexible and user-friendly interface while avoiding unnecessary modifications to the underlying treatment variable.