Skip to content

any way to center a variable without a higher-order polynomial? #90

Description

@adw96

I'm reviewing the lincom inclusion in the vignette ( ❤️ ❗ ) I was wondering if it's possible to center a variable without a higher-order polynomial? I tried mod_rigr <- regress("mean", atrophy ~ polynomial(age, degree = 1, center = 65) + sex + height + weight, data = mri) but received "inappropriate degree of polynomial" error.

No need to implement if not already in there but thought one of you would know if it was 🙏

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