search for: matrixz

Displaying 1 result from an estimated 1 matches for "matrixz".

Did you mean: matrix
2004 Dec 31
2
Supressing empty sections with Sweave
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 whethe...