I am new to knitr
, and I am looking to use it to write many knitr
documents which use the same shared "style sheet" for consistency.
I am hoping to write my phd thesis appendices in knitr/LaTeX
. I am in the process of creating a number of different statistical models which I want to describe in a consistent manner, so using the same headings, plot formats and layout etc.
Aside from putting all my header information for the packages I am using and my custom LaTeX
commands into a separate file and using \include{}
to pull them in at the start of each file, what more can I do to standardize my model descriptions?
Edit:
I want to have as little as possible in common across the multiple knitr
.Rnw files. In plain R, I would use a function to parameterize, in LaTeX, I use a parameterized documentclass - I can't see how to get this clean parametrization across multiple knitr
documents without cutting and pasting lots of code and having the inevitable consistency mistakes.
I need to create an example here - back later!