knitr
document below. Hmisc, rms
Put the following inside the template:
# Descriptive Statistics ```{r desc, results='asis'} getHdata(support) # download from biostat.mc.vanderbilt.edu/DataSets html(describe(support)) ```
# Relationships ```{r relate} with(support, table(dzclass, dzgroup)) with(support, plsmo(age, meanbp, group=dzclass)) ```
```{r box, w=6, cap="Extended box plots for mean arterial blood pressure and serum creatinine"} # Floating figure environment, allowing caption and cross-referencing bpplotM(meanbp + crea ~ dzgroup, data=support, cex.strip=.75) ```I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
![]() |
example.pdf | manage | 161 K | 08 Jan 2014 - 14:30 | FrankHarrell | example knitr report from ~/doc/latex/knitr |