View source: R/logist_summary.R
logist_summary | R Documentation |
a function to create summary table for glm logistic model
logist_summary(
fit,
method = c("lik.ratio", "wald"),
stat_digits = 2,
p_digits = 4,
verbose = FALSE,
sstable = FALSE,
flextable = FALSE,
...
)
fit |
a logistic regression model of class "glm" |
method |
a string whose value is either "lik.ratio" for CI and tests based on likelihood ratio statistics (preferred) or "wald" for CI and tests based on Wald statistics |
stat_digits |
Number of decimal digits for statistics |
p_digits |
Number of decimal digits for the p-values |
verbose |
logical value specifying whether to print out result and notation. Default is FALSE |
sstable |
logical value specifying whether to return in sstable format. Default is FALSE. Set to TRUE forces verbose to FALSE |
flextable |
logical value specifying whether to build flextable object. Default it FALSE. Set to TRUE forces sstable to TRUE and verbose to FALSE. Like other sstable objects, you can still create flextable or huxtable afterwards by using ss_flextable or ss_huxtable |
... |
additional parameters passed to ss_flextable |
A data frame of additional class "logist_summary" (if sstable == FALSE), a matrix of class c("summary_tbl", "ss_tbl") otherwise
Marcel Wolbers, Lam Phung Khanh, and Trinh Dong Huu Khanh
ss_format, ss_huxtable, ss_flextable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.