bestfits | R Documentation |
bestfits
creates a table with AIC, Adjusted R2 and other statistics
for model comparisons. In order to make possible far comparisons, an adjusted
version of AIC for transformations is used.
bestfits(obj, ...)
obj |
object of class bestfit |
library(sf)
data(centro_2015)
centro_2015 <- st_drop_geometry(centro_2015)
centro_2015 <- within(centro_2015, PU <- valor/area_total)
best_fit <- bestfit(PU ~ area_total + quartos + suites + garagens +
dist_b_mar + padrao, data = centro_2015,
transf = c("log", "sqrt"))
(b <- bestfits(best_fit))
library(sjPlot)
tab_model(b$models, show.aic = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.