[R] figure widths in sweave

2005-09-26 Thread John Charles Considine
gRoovers, Can the size of figures be controlled from within a noweb document without resorting to editing the \includegraphics sections in the .tex file? Can the figure widths be set in the environmental declarations at the start? Can they be set within the \begin{figure} environment? JC

Re: [R] figure widths in sweave

2005-09-26 Thread John Charles Considine
On Mon, 2005-09-26 at 20:34 +0800, John Charles Considine wrote: gRoovers, Can the size of figures be controlled from within a noweb document without resorting to editing the \includegraphics sections in the .tex file? yes, Sweave sets graphics widths to 0.8\textwidth by default

[R] xyplot and abline

2005-09-22 Thread John Charles Considine
How should I pass abline to this function so that I get a reference line at h=0 in each panel? sps - trellis.par.get(superpose.symbol) sps$pch - 1:10 trellis.par.set(superpose.symbol,sps) xyplot(fcast$LOGDIFF~fcast$VINTAGE|fcast$REGION, groups=fcast$LAG, panel=panel.superpose,

Re: [R] xyplot and abline

2005-09-22 Thread John Charles Considine
(fcast$LAG), years)), points=Rows(sps,1:3))) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Charles Considine Sent: Thursday, September 22, 2005 10:11 AM To: r-help Subject: [R] xyplot and abline MMS - ING02 ing.boehringer

Re: [R] dynamic object names?

2005-09-19 Thread John Charles Considine
On Mon, 2005-09-19 at 11:38 +0200, Uwe Ligges wrote: [EMAIL PROTECTED] wrote: I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a number to prefix. As result I

[R] lm to an array

2005-09-17 Thread John Charles Considine
call lm to evaluate 'minus1:minus3' against 'actual' such that the results are tabulated by the third dimension? John Charles Considine __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] trouble with reading data from excel

2005-09-12 Thread John Charles Considine
Sloane, try, diseasedat-read.csv(M:\\sloan\\R\\disease\\disease.csv) and read http://cran.r-project.org/doc/manuals/R-data.html JC On Mon, 2005-09-12 at 19:58 +0100, sloan jones wrote: I have been trying to open data that I have saved in an excel spread sheet. I saved it as a csv.