| gaze | R Documentation | 
Tidy multiple models and display coefficients and test statistics in a side-by-side format.
gaze(
  ...,
  include_glance = TRUE,
  glance_vars = c("adj.r.squared", "sigma", "AIC"),
  digits = 3
)
| ... | models to be tidied. Arguments may be named or unnamed. For named arguments, the model will be identfied by the argument name; for unnamed arguments, the object name will be the identifier. | 
| include_glance | 
 | 
| glance_vars | 
 | 
| digits | 
 | 
This function is still in development. Significant stars will be added in a future version. Note that function defaults may be subject to change.
Return a data frame object
 Cast an error if include_glance is not logical(1)
 Cast an error if glance_vars is not a character 
vector.
 Cast an error if digits is not "integerish(1)".
fit1 <- lm(mpg ~ qsec + am + wt + gear + factor(vs), data = mtcars)
fit2 <- lm(mpg ~ am + wt + gear + factor(vs), data = mtcars)
gaze(fit1, fit2)
gaze(with_qsec = fit1, 
     without_qsec = fit2)
gaze(fit1, fit2, include_glance = FALSE)
gaze(fit1, fit2, glance_vars = c("AIC", "BIC"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.