search for: condfig1

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

2010 Nov 15
1
Sweave: Conditional code chunks?
I have a code junk that produces a figure. In my special case, however, data does not always exist. In cases where data exists, the code chunk is of course trival (case #1), however, what do I do for case # 2 where the data does not exist? I can obviously prevent the code from being executed by checking the existence of the object x, but on the Sweave level I have a static figure chunk. Here an