using knitr for anayslis reporting