Skip to content

Commit

Permalink
provide example to create RTF file
Browse files Browse the repository at this point in the history
  • Loading branch information
elong0527 committed Dec 2, 2023
1 parent 97d833e commit 147b895
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vignettes/metalite-table1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,18 @@ for (i in 1:2) {
}
```

## RTF file

User can also export a static table to an RTF file by using the `metalite_table1_to_rtf` function.

```{r}
metalite_table1(
~ AGE + SEX + RACE + BMIBLGR1 | ARM,
data = df,
id = "USUBJID"
) |>
metalite_table1_to_rtf("tmp1.rtf")
```



0 comments on commit 147b895

Please sign in to comment.