This takes each model used in the final table and converts it to a tidy dataset, formatted and ready to be merged with others in a nice table.
1 2 3 | convert_to_data(model, teststat = "p.value", digits = 3,
digits_coef = digits, digits_teststat = digits, cutoffs = c(0.1, 0.05,
0.01), stars = c("*", "**", "***"), N = T, fit = NULL)
|
model |
A single model result |
teststat |
Which test statistic to show ('std.error' standard error,
'p.value' p value, 'statistic' model-specific statistic, |
digits |
The number of digits to display |
digits_coef |
Override for digits for coefficient |
digits_teststat |
Override for digits for test statistic |
cutoffs |
Levels of significance to display stars for, in descending order |
stars |
Choices for displayed stars |
N |
whether or not to display observation count for the model |
fit |
an optional list of model fit statistics (i.e. c("r.squared", "adj.r.squared")) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.