jstable icon indicating copy to clipboard operation
jstable copied to clipboard

an element beyond its index range

Open ChileSummer opened this issue 1 year ago • 1 comments

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

ChileSummer avatar Apr 13 '24 08:04 ChileSummer

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

jinseob2kim avatar Apr 17 '24 11:04 jinseob2kim