This is what the R.rsp (https://cran.r-project.org/package=R.rsp; I'm
the author) and it's RSP markup is good at and was designed to handle.
We're using it lots in report generation where we iterate of elements,
e.g. over the 24 chromosomes. See Section 2.3 in
https://cran.r-project.org/web/packag
On Thu, 1 Jun 2017, POLWART, Calum (COUNTY DURHAM AND DARLINGTON NHS FOUNDATION
TRUST) via R-help wrote:
Before I go and do this another way - can I check if anyone has a way of
looping through data in odfWeave (or possibly sweave) to do a repeating
analysis on subsets of data?
For simplicit
I do this regularly with knitr [1]. I have never used odfWeave, but would
imagine that similar principles apply.
If you make a child document that assumes that the desired data are stored in
one or more objects, then you can use a for loop in the master document that
repeatedly extracts the de
Before I go and do this another way - can I check if anyone has a way of
looping through data in odfWeave (or possibly sweave) to do a repeating
analysis on subsets of data?
For simplicity lets use mtcars dataset in R to explain. Dataset looks like
this:
> mtcars
mpg cyl disp
4 matches
Mail list logo