Hi again, sorry if this is explained elsewhere but can we feed a variable (like drug or treatment) that has more than 2 states?
I performed the SIAMCAT analysis with age, response and gender with no issues. But I added therapy as another variable (there are NAs + 3 classes of therapy) and drug (6 classes + NAs) and the cofounder step fails and I got an error regarding the variables
Error in factor(mvar, levels = sort(unique(na.omit(mvar))), labels = var.level.names[[m]]) :
invalid 'labels'; length 0 should be 1 or 6
Thanks in advance for your help
Hi again, sorry if this is explained elsewhere but can we feed a variable (like drug or treatment) that has more than 2 states?
I performed the SIAMCAT analysis with age, response and gender with no issues. But I added therapy as another variable (there are NAs + 3 classes of therapy) and drug (6 classes + NAs) and the cofounder step fails and I got an error regarding the variables
Thanks in advance for your help