Closed zheng-gt closed 1 month ago
This error occurred because, in version 1.3.4, there were cases where the p-value was returned as both a list and a character. I have submitted a pull request to fix this issue. Once the request is merged, you can update the jstable package from GitHub. Thank you for your suggestion.
@sl-eeper Thank you for your quick response! I appreciate your great contribution.
Sorry, Could you try install the latest version via remotes::install_github("jinseob2kim/jstable")
@jinseob2kim I have installed the latest version; it works correctly now! Thank you very much for this great package! Also, many thanks to @sl-eeper for pulling the request.
Hello, I got the following error when I ran the code below. Could you please tell me how to fix it?
Error
Code library(dplyr) lung %>% mutate( status = as.integer(status == 1), sex = factor(sex), kk = factor(as.integer(pat.karno >= 70)), kk1 = factor(as.integer(pat.karno >= 80)), kk2 = factor(as.integer(pat.karno >= 90)) ) -> lung
TableSubgroupMultiGLM(status ~ sex, var_subgroups = c("kk", "kk1", "kk2"), var_cov = c("kk", "kk1", "kk2"), data = lung, line = TRUE, family = "binomial" )