summary library knitr x c kable as.matrix summary histogram-plot hist x kable n x rnorm y out lm library knitr kable summary coef