Skip to content

Commit d4252e8

Browse files
authored
Merge pull request #115 from RConsortium/cmb-report-manual
Combine report manual
2 parents 305d33c + b83aa61 commit d4252e8

9 files changed

Lines changed: 93 additions & 55 deletions

File tree

pilot5-submission/pilot5-output/pilot5-tlfs/out/tlf-demographic-pilot5.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ MMSE Total
3636
—————————————————————————————————————————————————————————————————————————————————————————————————
3737

3838
Program: tlf-demographic.r
39-
2025-08-10 22:57:38.342045
39+
2025-09-05 22:57:53.025567
4040

-213 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
218 KB
Binary file not shown.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: "R Consortium R Submission Pilot 5 - Summary Tables and Figures"
3+
author: "Pilot5 Team"
4+
date: "`r Sys.Date()`"
5+
format:
6+
pdf:
7+
latex-engine: xelatex
8+
geometry: "margin=0.25in"
9+
header-includes:
10+
- \usepackage{pdfpages}
11+
- \usepackage{graphicx}
12+
geometry: "margin=0.25in"
13+
header-includes:
14+
- \usepackage{pdfpages}
15+
- \usepackage{graphicx}
16+
---
17+
18+
```{r global_options, include=FALSE}
19+
knitr::opts_chunk$set(fig.width = 6, fig.height = 6)
20+
```
21+
22+
Note : In Pilot 5, following the same approach as Pilot1, different open-source packages were used when generating each of the 4 analysis outputs to test wider use case scenarios. The outputs were formatted differently intentionally to cover different company specific formatting choices.
23+
24+
\newpage
25+
26+
#### Table 14-2.01
27+
#### Summary of Demographic and Baseline Characteristics
28+
29+
```{r demog, echo=FALSE, message=FALSE, comment=NA}
30+
knitr::opts_chunk$set(fig.align = "center", out.width = "70%")
31+
32+
library(here)
33+
34+
source("pilot5-helper-fcns.r")
35+
path <- list(
36+
sdtm = here("pilot5-submission", "pilot5-input", "sdtmdata", "datasetjson"),
37+
adam = here("pilot5-submission", "pilot5-input", "adamdata"),
38+
output = here("pilot5-submission", "pilot5-output", "pilot5-tlfs"),
39+
adam_json = here("pilot5-submission", "pilot5-output", "pilot5-datasetjson"),
40+
programs = here("pilot5-submission", "pilot5-programs")
41+
)
42+
43+
source(file.path(path$programs, "tlf-demographic.r"))
44+
print(tbl)
45+
```
46+
47+
```{r, echo = FALSE}
48+
# You need to manually produce the pdf for the tlf-primary-pilot5.rtf
49+
# Microsoft Office or Libre Office can do this.
50+
```
51+
52+
53+
\noindent\begin{minipage}[t]{\textwidth}
54+
\vspace{4ex}
55+
\begin{center}
56+
\includegraphics[scale=0.80]{cmb-report-manual-files/tlf-primary-pilot5.pdf}
57+
\end{center}
58+
\end{minipage}
59+
60+
61+
```{r, echo = FALSE}
62+
# You need to manually produce the pdf for the tlf-primary-pilot5.rtf
63+
# Microsoft Office or Libre Office can do this.
64+
```
65+
66+
\noindent\begin{minipage}[t]{\textwidth}
67+
\begin{flushleft}
68+
{\large \textbf{Table 14-3.02}}\\[1ex]
69+
{\large \textbf{Primary Endpoint Analysis: Glucose (mmol/L) - Summary at Week 20 - LOCF}}
70+
\end{flushleft}
71+
\vspace{4ex}
72+
\begin{center}
73+
\includegraphics[scale=1]{cmb-report-manual-files/tlf-efficacy-pilot5.pdf}
74+
\end{center}
75+
\end{minipage}
76+
77+
\noindent\begin{minipage}[t]{\textwidth}
78+
\begin{flushleft}
79+
{\large \textbf{Figure 14-1}}\\[1ex]
80+
{\large \textbf{Time to Dermatologic Event by Treatment Group}}
81+
\end{flushleft}
82+
\vspace{4ex}
83+
\begin{center}
84+
\includegraphics[scale=1]{cmb-report-manual-files/tlf-kmplot-pilot5.pdf}
85+
\end{center}
86+
\end{minipage}
87+
88+
89+
90+
91+
92+

pilot5-submission/pilot5-programs/report-tlf-pilot3.Rmd

Lines changed: 0 additions & 54 deletions
This file was deleted.
-410 KB
Binary file not shown.

0 commit comments

Comments
 (0)