Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

an element beyond its index range #25

Open
ChileSummer opened this issue Apr 13, 2024 · 1 comment
Open

an element beyond its index range #25

ChileSummer opened this issue Apr 13, 2024 · 1 comment

Comments

@ChileSummer
Copy link

I'm new to R programming, and I'm wondering why this error is happening

res <- TableSubgroupMultiGLM(formula =HY~EC,var_subgroups = c("age","sex","ethnic","education","BMI","smoking","drinking"), data = df)
Error in as.character(formula)[[3]] : subscript out of bounds

@jinseob2kim
Copy link
Owner

jinseob2kim commented Apr 17, 2024

Can you share the data? Is EC variable categorical with > 2 level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants