I was using functions form package broom
. But the results span over multiple pages. For example, using mtcars
data, I fitted a linear model with
model1 <- lm(mpg~. , data=mtcars) # mpg regressed on all other variables of dataset.
I want to see the regression results (like R-squared, AIC, etc.) using thebroom::glance
function, but the table showing the regression results is wider than the page width. Is there any way such that the remaining columns can be shown in the next rows? I tried knitr::kable
also along with it, but that doesn't work either.