mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
29 lines
613 B
Text
29 lines
613 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/baseline_table.R
|
||
|
\name{create_baseline}
|
||
|
\alias{create_baseline}
|
||
|
\title{Create a baseline table}
|
||
|
\usage{
|
||
|
create_baseline(data, ..., by.var, add.p = FALSE, add.overall = FALSE)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{data}{data}
|
||
|
|
||
|
\item{...}{passed as fun.arg to baseline_table()}
|
||
|
|
||
|
\item{add.p}{add comparison/p-value}
|
||
|
|
||
|
\item{add.overall}{add overall column}
|
||
|
|
||
|
\item{strat.var}{grouping/strat variable}
|
||
|
}
|
||
|
\value{
|
||
|
gtsummary table list object
|
||
|
}
|
||
|
\description{
|
||
|
Create a baseline table
|
||
|
}
|
||
|
\examples{
|
||
|
mtcars |> create_baseline(by.var = "gear", add.p="yes"=="yes")
|
||
|
}
|