Open Vanderser opened 1 year ago
I use this custom dataset to reproduce the issues: https://file.io/ZzYBx4csNcMw
custom_dataset <- read.csv(file.choose()) custom_dataset$LH_info <- factor(custom_dataset$LH_info, order = TRUE, levels=c("Common Low High (<50)","Uncommon Low High (50-80)", "Extreme Low High (>80)")) test <- polr(LH_info ~ ., data=custom_dataset) #original test2 <- polr_cpp(LH_info ~ ., data=custom_dataset) #modified
Hi! first of all thanks for the great support of doing glm in Rcpp!
I am using the rcppglm to modify MASS:polr to enhance the speeds over a normal GLM, but i encountered an error like above in my attempts, here is the full code:
original polr
modified polr (adding the rcppglm in fit section)