You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Authors,
I noticed, that the forest_model function doesn't plot interactions. The version from CRAN doesn't do that, so I downloaded and installed the most fresh code from the GitHub. Same result. Is this by design to show only the main effects?
Expected behavior
Interaction effects should be shown
Actual behavior
Only the main effects are shown
Steps to reproduce the problem
Fit any Cox model with an interaction.
Run forest_model ()on it.
> forest_model( fit <- coxph(Surv(time, status) ~ ph.karno * age, data=lung))
Resized limits to included dashed line in forest panel
> summary(fit, conf.int = FALSE)
Call:
coxph(formula = Surv(time, status) ~ ph.karno * age, data = lung)
n= 227, number of events= 164
(1 observation deleted due to missingness)
coef exp(coef) se(coef) z Pr(>|z|)
ph.karno -0.1211782 0.8858761 0.0486092 -2.493 0.0127 *
age -0.1206758 0.8863212 0.0610426 -1.977 0.0481 *
ph.karno:age 0.0016586 1.0016600 0.0007525 2.204 0.0275 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Concordance= 0.598 (se = 0.025 )
Likelihood ratio test= 14.52 on 3 df, p=0.002
Wald test = 13.42 on 3 df, p=0.004
Score (logrank) test = 13.44 on 3 df, p=0.004
Dear Authors,
I noticed, that the forest_model function doesn't plot interactions. The version from CRAN doesn't do that, so I downloaded and installed the most fresh code from the GitHub. Same result. Is this by design to show only the main effects?
Expected behavior
Interaction effects should be shown
Actual behavior
Only the main effects are shown
Steps to reproduce the problem
Fit any Cox model with an interaction.
Run forest_model ()on it.
session_info()
The text was updated successfully, but these errors were encountered: