Dear useRs,

I'm writing regular survey reports using Sweave. Each
report has several sections along the lines of:

\section*{Disease X}

<<MapX,fig=TRUE,echo=FALSE>>=
image(vectorx,vectory,matrixz)

@

Notes with or without Sexpr{a}.

\vfill

\pagebreak

\section*{Disease Y}
<<MapY,fig=TRUE,echo=FALSE>>=
...etc.


Often one or more of the diseases is not observed (all
values in matrixz are 0), in which case I would prefer
not to display the section at all.  Does any one no
whether it is possible automate this with Sweave?

Mikkel

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to