| summary.fic | R Documentation | 
Summarise focused model comparison results
## S3 method for class 'fic'
summary(object, tidy = TRUE, adj = FALSE, ...)
| object | Object returned by  | 
| tidy | If  | 
| adj | The optimal model is the one with the lowest root mean square error (RMSE). If  | 
| ... | Other arguments, currently unused. | 
A list of two components, one for the optimal model per focus, and one for the range of focus and RMSE estimates over models.
ggplot_fic, plot.fic for a more detailed visual representation of the focused comparison
## Example from the main vignette, see there for more details
wide.glm <- glm(low ~ lwtkg + age + smoke + ht + ui + smokeage + smokeui,
                data=birthwt, family=binomial)
vals.smoke <-    c(1, 58.24, 22.95, 1, 0, 0, 22.95, 0)
vals.nonsmoke <- c(1, 59.50, 23.43, 0, 0, 0, 0, 0)
X <- rbind("Smokers" = vals.smoke, "Non-smokers" = vals.nonsmoke)
inds0 <- c(1,1,0,0,0,0,0,0)
combs <- all_inds(wide.glm, inds0)
ficres <- fic(wide = wide.glm, inds = combs, inds0 = inds0,
              focus = prob_logistic, X = X)
ggplot_fic(ficres)
summary(ficres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.