Description Usage Arguments Example Output Author(s) Examples
Returns an ANCOVA table showing the means of two groups and the difference in means
1 2 3 4 5 6 7 8 9 10 11 12 13 
data 
frame to be used in ANCOVA models 
y 
vector of continuous outcome variables. Oneway ANOVA/ANCOVA models will be computed for each outcome. 
x 
string indicating the binary comparison variable 
formula 
String of the model formula.
Uses glue::glue syntax. Default is 
label 
List of formulas specifying variables labels,
e.g. 
method.args 
List of additional arguments passed on to the regression
function defined by 
conf.level 
Must be strictly greater than 0 and less than 1. Defaults to 0.95, which corresponds to a 95 percent confidence interval. 
estimate_fun 
Function to round and format coefficient estimates. Default is style_sigfig when the coefficients are not transformed, and style_ratio when the coefficients have been exponentiated. 
pvalue_fun 
Function to round and format pvalues.
Default is style_pvalue.
The function must have a numeric vector input (the numeric, exact pvalue),
and return a string that is the rounded/formatted pvalue (e.g.

method 
Regression method (e.g. lm, glm, survival::coxph,

digits 
List of formulas specifying the number of decimal
places to round continuous summary statistics. If not specified,

Daniel D. Sjoberg
1 2 3  tbl_ancova_ex1 <
trial %>%
tbl_ancova(y = c("age", "marker"), x = "trt")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.