convert_to_data: Convert a model output to a dataframe

Description Usage Arguments

Description

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.

Usage

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)

Arguments

model

A single model result

teststat

Which test statistic to show ('std.error' standard error, 'p.value' p value, 'statistic' model-specific statistic, NA for none)

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"))


robertgambrel/tabler documentation built on May 27, 2019, 10:32 a.m.