From aa1f7cef8e84ce2719b66c40af7dd9316bbd1a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20L=C3=B6we?= <64039523+holgstr@users.noreply.github.com> Date: Wed, 10 Jan 2024 15:19:19 +0100 Subject: [PATCH] Suppress warning in trialplanning.Rmd (#108) Fixes #107 --- vignettes/trialplanning.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/trialplanning.Rmd b/vignettes/trialplanning.Rmd index f3ffadb6..c7ffe73f 100644 --- a/vignettes/trialplanning.Rmd +++ b/vignettes/trialplanning.Rmd @@ -28,7 +28,7 @@ OS is defined as the time to reach the absorbing state death, and PFS is defined Figure 1 shows the multistate model with the corresponding transition hazards. In the vignette, we show how to estimate type I errors and statistical power from simulations and give an idea on how this can be used to plan complex study trials. -```{r, echo=FALSE, fig.cap = " Figure 1 - Multistate model with indermediate state progession and absorbing state death", fig.height = 5, fig.width = 8, out.width = "60%"} +```{r, echo = FALSE, warning = FALSE, fig.cap = " Figure 1 - Multistate model with indermediate state progession and absorbing state death", fig.height = 5, fig.width = 8, out.width = "60%"} library(prodlim) plotIllnessDeathModel( style = 1, box1.label = "0: initial state", box2.label = "1: progression",