diff --git a/articles/tlf-demographic.html b/articles/tlf-demographic.html index 8e77e5e..521cc13 100644 --- a/articles/tlf-demographic.html +++ b/articles/tlf-demographic.html @@ -141,22 +141,22 @@

Step 3: Summ
 # Table layout
 vars <- c("AGE", "AGEGR1", "RACE", "HEIGHTBL", "WEIGHTBL", "BMIBL", "MMSETOT")
-lyt <- basic_table(title = "Protocol: CDISCPILOT01",
+lyt <- basic_table(title = "Protocol: CDISCPILOT01",
                    subtitles = "Population: Intent-to-Treat",
                    main_footer = paste0("Program: tlf_demographic.Rmd \n" , Sys.time())
 ) %>%
-  split_cols_by("TRT01P") %>%
-  add_colcounts() %>%
-  analyze(vars, function(x, ...) {
+  split_cols_by("TRT01P") %>%
+  add_colcounts() %>%
+  analyze(vars, function(x, ...) {
     if (is.numeric(x)) {
-      in_rows(
+      in_rows(
         "Mean (sd)" = c(mean(x), sd(x)),
         "Median" = median(x),
         "Min - Max" = range(x),
         .formats = c("xx.xx (xx.xx)", "xx.xx", "xx.xx - xx.xx")
       )
     } else if (is.factor(x) || is.character(x)) {
-      in_rows(.list = list_wrap_x(table)(x))
+      in_rows(.list = list_wrap_x(table)(x))
     } else {
       stop("type not supproted")
     }
@@ -164,7 +164,7 @@ 

Step 3: Summ var_labels = adsl_labels[vars]) # Table build -tbl <- build_table(lyt, adsl) +tbl <- build_table(lyt, adsl) tbl

## Protocol: CDISCPILOT01
@@ -205,7 +205,7 @@ 

Step 3: Summ ## ————————————————————————————————————————————————————————————————————————————————————————————————— ## ## Program: tlf_demographic.Rmd -## 2024-01-16 17:29:34.703668

+## 2024-02-21 17:13:35.590572

Step 4: Output diff --git a/pkgdown.yml b/pkgdown.yml index 5312ca5..083a039 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,5 +7,5 @@ articles: tlf-efficacy: tlf-efficacy.html tlf-kmplot: tlf-kmplot.html tlf-primary: tlf-primary.html -last_built: 2024-01-16T17:29Z +last_built: 2024-02-21T17:13Z