-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Bug]: MMRM in the efficacy gallery doesn't work. #26
Comments
hey @JianWang2016 what is the output of your |
Here is my
You can always run
This is the code I get after
|
What happened?
teal.gallery::launch_app("efficacy") starts nicely. All the tab works except MMRM which gives the following error message. Change to Kenward-Roger would produce the similar error message. Default is used for all the selection.
Relevant log output
unused argument (method = "Satterthwaite")
when evaluating qenv code:
anl <- ANL %>% dplyr::filter(ARM %in% c("A: Drug X", "B: Placebo", "C: Combination")) %>% dplyr::mutate(ARM = stats::relevel(ARM, ref = "A: Drug X")) %>% dplyr::mutate(ARM = droplevels(ARM)) %>% df_explicit_na(na_level = "")
ANL_ADSL <- ANL_ADSL %>% dplyr::filter(ARM %in% c("A: Drug X", "B: Placebo", "C: Combination")) %>% dplyr::mutate(ARM = stats::relevel(ARM, ref = "A: Drug X")) %>% dplyr::mutate(ARM = droplevels(ARM)) %>% df_explicit_na(na_level = "")
fit <- tern.mmrm::fit_mmrm(vars = list(response = "AVAL", covariates = NULL, id = "USUBJID", arm = "ARM", visit = "AVISIT"), data = anl, conf_level = 0.95, method = "Satterthwaite", cor_struct = "unstructured", weights_emmeans = "proportional", parallel = TRUE)
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: