mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
47 lines
482 B
Markdown
47 lines
482 B
Markdown
|
|
# Print a flexible baseline characteristics table
|
||
|
|
|
||
|
|
Print a flexible baseline characteristics table
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
``` r
|
||
|
|
baseline_table(
|
||
|
|
data,
|
||
|
|
fun.args = NULL,
|
||
|
|
fun = gtsummary::tbl_summary,
|
||
|
|
vars = NULL
|
||
|
|
)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Arguments
|
||
|
|
|
||
|
|
- data:
|
||
|
|
|
||
|
|
data set
|
||
|
|
|
||
|
|
- fun.args:
|
||
|
|
|
||
|
|
list of arguments passed to
|
||
|
|
|
||
|
|
- fun:
|
||
|
|
|
||
|
|
function to
|
||
|
|
|
||
|
|
- vars:
|
||
|
|
|
||
|
|
character vector of variables to include
|
||
|
|
|
||
|
|
## Value
|
||
|
|
|
||
|
|
object of standard class for fun
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
``` r
|
||
|
|
mtcars |> baseline_table()
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
Characteristic
|
||
|
|
```
|