From a24a96c748decef2805839c6c587248a8fc2e904 Mon Sep 17 00:00:00 2001 From: guangguangzai Date: Tue, 30 Jul 2024 15:46:36 -0400 Subject: [PATCH] add --- vignettes/wpgsd_corr_example.Rmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vignettes/wpgsd_corr_example.Rmd b/vignettes/wpgsd_corr_example.Rmd index 22771ba..63efeec 100644 --- a/vignettes/wpgsd_corr_example.Rmd +++ b/vignettes/wpgsd_corr_example.Rmd @@ -139,13 +139,13 @@ event %>% gt() %>% tab_header(title = "Number of events at each population & analyses") ``` -"H1" means the experimental treatment is superior to the control in the population 1/experimental arm 1; "H2" means the experimental treatment is superior to the control in the population 2/experimental arm 2; "Analysis" means different analysis stages, for example, 1 means the interim analysis, and 2 means the final analysis; and the "Event" means the number of events in this condition. +"H1" indicates that the experimental treatment is superior to the control in population 1/experimental arm 1. "H2" indicates that the experimental treatment is superior to the control in population 2/experimental arm 2. "Analysis" refers to different stages of analysis, such as 1 for interim analysis and 2 for final analysis. "Event" represents the number of events in this condition. -For example: H1=1, H2=1, Analysis=1, Event=100 means in the first population, there are 100 cases of experimental treatment is superior to the control in the interim analysis. +For example: H1=1, H2=1, Analysis=1, Event=100 indicates that in the first population, there are 100 cases where the experimental treatment is superior to the control in the interim analysis. -Another example: H1=1, H2=2, Analysis=2, Event=160 means the overlap number of experimental treatment superior to the control in population 1 and 2 in the final analysis is 160. +Another example: H1=1, H2=2, Analysis=2, Event=160 indicates that the number of overlapping cases where the experimental treatment is superior to the control in population 1 and 2 in the final analysis is 160. -*To be noticed, the column names in this function are fixed to be 'H1, H2, Analysis, Event'. +*To be noticed, the column names in this function are fixed to be 'H1, H2, Analysis, Event'. After we have the event table, we can use generate_corr function to calculate correlation. ```{r}