search for: b3i4old02

Displaying 8 results from an estimated 8 matches for "b3i4old02".

2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2007 Jul 03
1
Lattice: shifting strips to left of axes
Consider this plot: xyplot(mpg ~ disp | cyl, mtcars, strip=F, strip.left=T, layout=c(1, 3), scales=list(relation="free"), par.settings=list(strip.background=list(col="transparent"))) I want to have the "cyl" strip labels on the left side of the axis. Is this possible? Failing that, is it possible to remove the left axis and display it on the right
2007 Jun 22
1
Lattice: hiding only some strips
I am using R 2.4.0 and lattice to produce some xyplots conditioned on a factor and a shingle. The shingle merely chops up the data along the x-axis, so it is easy to identify which part of the shingle a panel is in by looking at the x-axis markings. I only want to have a strip at the top for the factor. Is this possible? I looked into calculateGridLayout() and it seems to me that there
2007 Jun 24
2
matlab/gauss code in R
...has not helped or I am doing something wrong. Any help is > greatly appreciated. > Jacquie > > [[alternative HTML version deleted]] > > > > ------------------------------ > > Message: 43 > Date: Fri, 22 Jun 2007 17:25:14 +0100 > From: Michael Hoffman <b3i4old02 en sneakemail.com> > Subject: [R] Lattice: hiding only some strips > To: r-help en stat.math.ethz.ch > Message-ID: <f5gt5i$f6k$1 en sea.gmane.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I am using R 2.4.0 and lattice to produce some xyplots cond...
2007 Jul 10
1
Lattice: vertical barchart
barchart(Titanic, stack=F) produces a very nice horizontal barchart. Each panel has four groups of two bars. barchart(Titanic, stack=F, horizontal=F) doesn't produce the results I would have expected, as it produces this warning message: Warning message: y should be numeric in: bwplot.formula(x = as.formula(form), data = list(Class = c(1, And it results in each panel having 22 groups of
2007 Dec 01
1
Spellchecking Sweave documents
I have been using Aspell on a Linux system, but it doesn't understand the noweb chunks, which I'd rather it not spellcheck. I can run it on the generated .tex files, but then changes I make during the spellcheck will not be propagated back to the original source. Any suggestions on how to spellcheck Sweave documents? I see from a search that some people seem to be trying Flyspell on
2008 Jan 16
1
Automatic traceback
I would like to have an automatic traceback printed on error. Is there a way to do this? options(error=traceback) seems to print the previous error, not the current error. I'm guessing this is because the traceback is not set until the error handler is done running. > options(error=traceback) > stop("1") Error: 1 No traceback available > stop("2") Error: 2 1: