Question: the xtable package allows the analyst to display nicely formatted tables and results when outputting to pdf files. Use the following code chunks as an
the xtable package allows the analyst to display nicely formatted tables and results when outputting to pdf files. Use the following code chunks as an example to create a similar display using your own data.
```{r results="asis"} library(xtable) library(mdsr) options(xtable.comment = FALSE) mod <- lm(cesd ~ mcs + sex, data = HELPrct) xtable(mod) ```
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
