Skip to content

Allow specifying the reference group for ANCOVA analyses via set_vars() #580

Description

@wwojciech

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions