Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

221 new ard ard for tables 32 and 33 #241

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
86392b2
push draft
aassuied-ps Jun 18, 2024
e2b6404
New try
aassuied-ps Jun 19, 2024
58b1fc4
Create alex_try_like_table_02.R
aassuied-ps Jun 19, 2024
ff36633
push
aassuied-ps Jul 15, 2024
e20617f
updates
aassuied-ps Jul 15, 2024
d222eed
Update fda-table_32.R
aassuied-ps Jul 16, 2024
05c35cb
Update fda-table_32.R
aassuied-ps Jul 16, 2024
4412a54
Update fda-table_32.R
aassuied-ps Jul 16, 2024
70968a6
Update fda-table_32.R
aassuied-ps Sep 2, 2024
e1f8fa9
Update fda-table_32.R
aassuied-ps Sep 2, 2024
ba2190c
push testthat
aassuied-ps Sep 2, 2024
0400b0e
update quarto for table 32
aassuied-ps Sep 3, 2024
6d4dced
update quarto
aassuied-ps Sep 3, 2024
68759c7
Update table 33
aassuied-ps Sep 3, 2024
3bf694e
add subset argument
aassuied-ps Sep 3, 2024
84b7a53
Merge branch 'main' into 221-new-ard-ard-for-tables-32-and-33
aassuied-ps Sep 4, 2024
ab459d8
[skip style] [skip vbump] Restyle files
github-actions[bot] Sep 4, 2024
17a8880
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Sep 4, 2024
f258fc9
Update for code coverage
aassuied-ps Sep 4, 2024
576d71e
Merge branch '221-new-ard-ard-for-tables-32-and-33' of https://github…
aassuied-ps Sep 4, 2024
8385d74
add admiraldev::assert_filter_cond
aassuied-ps Sep 4, 2024
100cc64
push
aassuied-ps Sep 4, 2024
398a332
Merge branch 'main' into 221-new-ard-ard-for-tables-32-and-33
edelarua Oct 7, 2024
ff86d99
update table 32
aassuied-ps Oct 10, 2024
278262a
[skip style] [skip vbump] Restyle files
github-actions[bot] Oct 10, 2024
4084c74
Update template-table_32.qmd
aassuied-ps Oct 10, 2024
117a195
Merge branch '221-new-ard-ard-for-tables-32-and-33' of https://github…
aassuied-ps Oct 10, 2024
d3c8ea4
Update fda-table_32.R
aassuied-ps Oct 10, 2024
23782d3
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Oct 10, 2024
2058f0e
Update man
aassuied-ps Oct 10, 2024
6c8b264
Merge branch '221-new-ard-ard-for-tables-32-and-33' of https://github…
aassuied-ps Oct 10, 2024
19c0e87
up
aassuied-ps Oct 10, 2024
864e323
push
aassuied-ps Oct 10, 2024
178afc8
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Oct 10, 2024
a712ff9
up
aassuied-ps Oct 10, 2024
cad0b14
Merge branch '221-new-ard-ard-for-tables-32-and-33' of https://github…
aassuied-ps Oct 10, 2024
cdcf404
up
aassuied-ps Oct 10, 2024
1a9fd6b
Simplify and reconfigure make_table_32
edelarua Oct 10, 2024
76c414f
Update docs
edelarua Oct 10, 2024
bebc238
Fix template
edelarua Oct 10, 2024
0507a9c
push PR
aassuied-ps Oct 23, 2024
82cbc4e
[skip style] [skip vbump] Restyle files
github-actions[bot] Oct 23, 2024
d911878
push
aassuied-ps Nov 6, 2024
0c977f4
[skip style] [skip vbump] Restyle files
github-actions[bot] Nov 6, 2024
115fb75
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Nov 6, 2024
bb93beb
update
aassuied-ps Nov 6, 2024
27331a8
Merge branch '221-new-ard-ard-for-tables-32-and-33' of https://github…
aassuied-ps Nov 6, 2024
f004ff4
[skip style] [skip vbump] Restyle files
github-actions[bot] Nov 6, 2024
af20e37
push
aassuied-ps Nov 15, 2024
ef36bf0
[skip style] [skip vbump] Restyle files
github-actions[bot] Nov 15, 2024
9949908
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Nov 15, 2024
a4a767a
tests
aassuied-ps Nov 15, 2024
6a626ee
push quarto
aassuied-ps Nov 19, 2024
b554cfd
push
aassuied-ps Nov 19, 2024
a7e7e86
push
aassuied-ps Nov 19, 2024
f08f6e3
delete modify_footnote
aassuied-ps Nov 21, 2024
7521d0b
update man and cardinal.R
aassuied-ps Nov 21, 2024
68ac736
Add tests
aassuied-ps Nov 21, 2024
96524b2
nocov handling
aassuied-ps Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update template-table_32.qmd
  • Loading branch information
aassuied-ps committed Oct 10, 2024
commit 4084c74a8b77c404eb201257a361b706f4b3ba0b
35 changes: 21 additions & 14 deletions quarto/table-templates/template-table_32.qmd
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ make_table_32(

</details>

```{r tbl1, eval=FALSE, echo=TRUE}
```{r tbl1, message=FALSE, warning=FALSE, eval=TRUE}
```

<details>
@@ -45,10 +45,12 @@ make_table_32(
- **`alt_counts_df`** (if specified): `USUBJID` and the variables specified by `arm_var` and `saffl_var`.

+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| Argument | Description | Default |
+=================+====================================================================================================================+==============+
| # Argument | # Description | # Default |
| | | |
| `df` | (`data.frame`) Dataset (typically ADVS) required to build table. | *No default* |
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| | | |
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| `alt_counts_df` | (`character`) Alternative dataset (typically ADSL) used only to calculate column counts. | `NULL` |
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| `id_vars` | (`character`) Identifier required to count the number of events (typically calculated by USUBJID). | `"USUBJID"` |
@@ -61,7 +63,7 @@ make_table_32(
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| `lbl_overall` | (`character`) If specified, an overall column will be added to the table with the given value as the column label. | `NULL` |
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+
| return_ard | (`flag`) Whether an ARD should be returned. | `TRUE` |
| `return_ard` | (`flag`) Whether an ARD should be returned. | `TRUE` |
+-----------------+--------------------------------------------------------------------------------------------------------------------+--------------+

Source code for this function is available [here](https://github.com/pharmaverse/cardinal/blob/main/R/fda-table_05.R).
@@ -70,10 +72,11 @@ Source code for this function is available [here](https://github.com/pharmaverse

</details>

## ARD
## ARD

<details>
<summary>ARD Setup</summary>

<summary>ARD Setup</summary>

```{r tbl2, eval=FALSE, echo=TRUE}
# Load Libraries & Data
@@ -90,19 +93,23 @@ result <- make_table_32(
)

# Output ARD
result$ard
print(
result$ard,
n = 5000
)
```

</details>

```{r tbl2, message=FALSE, warning=FALSE, eval=TRUE}
```


## rtables Table

<details>
<summary>rtables Table Setup</summary>

<summary>rtables Table Setup</summary>

```{r tbl3, eval=FALSE, echo=TRUE}
# Load Libraries & Data
library(cardinal)
@@ -116,19 +123,20 @@ make_table_32_rtables(
df = advs,
alt_counts_df = adsl,
risk_diff = risk_diff,
subset = (PARAMCD == "DIABP" & AVISITN >= 1),
return_ard = FALSE
subset = (PARAMCD == "DIABP" & AVISITN >= 1)
)
```

</details>

```{r tbl3, message=FALSE, warning=FALSE, eval=TRUE}
```

<details>
<summary>Function Details</summary>
### `make_table_32_rtables()`

<summary>Function Details</summary>

### `make_table_32_rtables()`

------------------------------------------------------------------------

@@ -172,5 +180,4 @@ Required variables:
Source code for this function is available [here](https://github.com/pharmaverse/falcon/blob/main/R/fda-table_32.R).

</details>

:::