[R] Talk with from Java

2003-11-12 Thread Markus Helbig
Hi everybody anybody knows how to talk with R like shown in the Java-Code above? Perhaps someone can help, or tell me its not possible. /* * Java_R.java * * Created on November 11, 2003, 5:36 PM */ import java.io.*; /** * * @author markus */ public class Java_R { /** Creates a new

RE: [R] Calendar Time Series

2003-11-12 Thread Heywood, Giles
I'm not sure what a calendar time series is, but it may be helpful to consider it as an irregular time series, depending on what analysis or display you are wanting to do. As you say, there are packages (including 'its') for this purpose. - Giles -Original Message- From: Brian

Re: [R] Talk with from Java

2003-11-12 Thread Hadley Wickham
Hi Markus, My Java is a bit rusty, but I think when reading from an input stream like the one you've set up, Java blocks if there's no input, waiting until there is some to return. I don't think the stream ends until the R process closes. You should test ready() to see if there is more

[R] value of strptime in R 1.8.0

2003-11-12 Thread RINNER Heinrich
Dear R-people! I am using R 1.8.0, under Windows XP. What I want to do is a date conversion of a character column of a data frame and assign the result as a new column. Simple example: x - data.frame(a=c(yesterday,today,tomorrow), b=I(c(2003, 20031112, 20031113))) # convert x$b from

[R] problem with x11 and PS devices on different machines

2003-11-12 Thread Timur Elzhov
Dear R help, I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11 and eps you'll find attached). On the home machine there are

Re: [R] value of strptime in R 1.8.0

2003-11-12 Thread Prof Brian Ripley
On Wed, 12 Nov 2003, RINNER Heinrich wrote: I am using R 1.8.0, under Windows XP. What I want to do is a date conversion of a character column of a data frame and assign the result as a new column. Simple example: x - data.frame(a=c(yesterday,today,tomorrow), b=I(c(2003, 20031112

[R] marrayTools package

2003-11-12 Thread Ghislaine Guigon
Hi, I work with R and bioconductor only for 2 months, and I'm trying to work with the marrayTools package from Yee Hwa Yang. I follow recommandations but R answers me : data - gpTools() [1] 33 [1] Reading ./Pf742.gpr Generating ...Error in exty[[i]] : subscript out of

Re: [R] problem with x11 and PS devices on different machines

2003-11-12 Thread Philippe Glaziou
Timur Elzhov [EMAIL PROTECTED] wrote: I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11 and eps you'll find attached). On

Re: [R] CircStats reveals underlying R bug?

2003-11-12 Thread Peter Dalgaard
John Christie [EMAIL PROTECTED] writes: circ.plot in CircStats under R 1.8.0 yields incorrect plots (easily compare hist() and rose.diag()). However, the code in circ.plot has not changed. Has anyone tracked this down yet? Could you supply a directly runnable example, please? -- O__

Re: [R] problem with x11 and PS devices on different machines

2003-11-12 Thread Timur Elzhov
On Wed, Nov 12, 2003 at 05:26:51PM +0700, Philippe Glaziou wrote: I run R at home and the work, I have Debian Linux on both machines and the same 'r-base-core' deb packages installed. So I tried to run the same R script, which plots graph in x11 device and then dump it to eps file (x11

[R] survrec 1.1-2

2003-11-12 Thread Juan Ramon Gonzalez
Dear R-Listers, We have just updated the version 1.1-2 of survrec package. As you can remember this package deals with recurrent event data. Previous version computes survival curves when the interocurrence times are iid or correlated. The new version allows to calculate asymptotic standard

[R] (no subject)

2003-11-12 Thread Stefan Wagner
Hi all, I am looking for a clever way to create the following graph using R: I got information on the shares of some subgroups over time (summing up to 1 in each year). The graph I want to create should display the development of the individual shares over time by shading rectangulars for each

Re: [R] problem with x11 and PS devices on different machines

2003-11-12 Thread Philippe Glaziou
Timur Elzhov [EMAIL PROTECTED] wrote: It could be that your X11 Modes differ between both machines, with a different number of dots per inch. I use the same resolution, 1024x768 on both machines. Anyway, I do not think that xserver resolution is important for screenshot size (in pixels) :)

Re: [R] (no subject)

2003-11-12 Thread Philipp Pagel
Hi! I got information on the shares of some subgroups over time (summing up to 1 in each year). The graph I want to create should display the development of the individual shares over time by shading rectangulars for each share in a different color. Maybe I'm missing the point but

[R] column extraction by name ?

2003-11-12 Thread ryszard . czerminski
I have a data frame (df) with colums x, y and z. e.g. df - data.frame(x = sample(4), y = sample(4), z = sample(4)) I can extract column z by: df$z or df[3] I can also extract columns x,y by: df[1:2] or by df[-3]. Is it possible to extract x,y columns in a symbolic fashion i.e. by equivalent of

[R] (no subject)

2003-11-12 Thread Allan Kachelmeier
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] CircStats reveals underlying R bug?

2003-11-12 Thread John Christie
On Nov 12, 2003, at 7:04 AM, Peter Dalgaard wrote: John Christie [EMAIL PROTECTED] writes: circ.plot in CircStats under R 1.8.0 yields incorrect plots (easily compare hist() and rose.diag()). However, the code in circ.plot has not changed. Has anyone tracked this down yet? Could you supply a

Re: [R] column extraction by name ?

2003-11-12 Thread Prof Brian Ripley
?match ?pmatch On Wed, 12 Nov 2003 [EMAIL PROTECTED] wrote: I have a data frame (df) with colums x, y and z. e.g. df - data.frame(x = sample(4), y = sample(4), z = sample(4)) I can extract column z by: df$z or df[3] I can also extract columns x,y by: df[1:2] or by df[-3]. Is it possible

Re: [R] CircStats reveals underlying R bug?

2003-11-12 Thread Ben Bolker
Maybe you should take this up with package maintainers (who may or may not be reading R-help) ... this sounds like a design/documentation issue rather than a bug per se (although the distinction is not always clear). To be honest, the underlying R code in CircStats doesn't seem terribly

Re: [R] column extraction by name ?

2003-11-12 Thread Eric Lecoutre
At 07:50 12/11/2003 -0500, [EMAIL PROTECTED] wrote: I have a data frame (df) with colums x, y and z. e.g. df - data.frame(x = sample(4), y = sample(4), z = sample(4)) I can extract column z by: df$z or df[3] I can also extract columns x,y by: df[1:2] or by df[-3]. Is it possible to extract x,y

Re: [R] column extraction by name ?

2003-11-12 Thread Marlene Mueller
[EMAIL PROTECTED] wrote: I have a data frame (df) with colums x, y and z. e.g. df - data.frame(x = sample(4), y = sample(4), z = sample(4)) I can extract column z by: df$z or df[3] I can also extract columns x,y by: df[1:2] or by df[-3]. Is it possible to extract x,y columns in a symbolic

[R] repeat until function

2003-11-12 Thread Ragnhild Sørum
Hi, I'm in this situation: I what to generate N random numbers(integer) that are different from each other. One suggestion: tabel - rep(NULL, N) for (i in 1:N){ temp - as.integer(runif(1,1,max)) if(temp in tabel) { repeat (?) (temp - as.integer(runif(i,i,max))) until (?) ((temp

RE: [R] column extraction by name ?

2003-11-12 Thread Simon Fear
Uh oh! Time for my occasional reminder post to use subset(), as in subset(df, select = -z) for this case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 12:51 To: R-help list Subject: [R] column extraction by name ? Security

RE: [R] Memory issues..

2003-11-12 Thread JFRI (Jesper Frickman)
How much processing takes place before you get to the lme call? Maybe R has just used up the memory on something else. I think there is a fair amount of memory leak, as I get similar problems with my program. I use R 1.8.0. My program goes as follows. 1. Use RODBC to get a data.frame containing

[R] Summary: Calendar Time Series

2003-11-12 Thread Brian Beckage
Thanks to Patrick Burns, Giles Heywood, and Gabor Grothendiec for responding to my question. Gabor suggested something along the lines of z - ts(rnorm(25),start=as.numeric(chron(01/25/99))) and then get back the times like this: chron(time(z)) To plot it: plot(chron(time(z)),z) Patrick

[R] Alpha values

2003-11-12 Thread Crispin Miller
Hi, Does anyone know whether it is possible to construct a colour for plotting with an alpha value as well as simply specifying rgb values? Crispin This email is confidential and intended solely for the use o...{{dropped}}

[R] / operator in model formula

2003-11-12 Thread Landis, R Matthew
Dear R-help folks, Can someone guide me to a source where I can learn more about the / operator in model formulae? I found a reference to it in Venables and Ripley's MASS, p. 142, where it says, in reference to ANCOVA: Terms of the form a/x, where a is a factor, are best thought of as

[R] Chron, as.POSIXct problem

2003-11-12 Thread Brian Beckage
Dear R list, I noticed the following 'problem' when changing the format of dates created with seq.dates() (from the Chron library) using as.POSIXct() (R 1.8.0 on OSX 10.2.8): datesTest-seq.dates(from=10/01/1952, length=3, by=days); datesTest [1] 10/01/52 10/02/52 10/03/52 # Now changing the

Re: [R] repeat until function

2003-11-12 Thread Philipp Pagel
I what to generate N random numbers(integer) that are different from each other. One suggestion: tabel - rep(NULL, N) for (i in 1:N){ temp - as.integer(runif(1,1,max)) if(temp in tabel) { repeat (?) (temp - as.integer(runif(i,i,max))) until (?) ((temp in tabel) ==FALSE)

RE: [R] Memory issues..

2003-11-12 Thread Thomas W Blackwell
Jesper - (off-list) Jim MacDonald reports seeing different memory-management behavior between Windows and Linux operating systems on the same, dual boot machine. Unfortunately, this is happening at the operating system level, so the R code cannot do anything about it. I have cc'ed Jim on this

RE: [R] Memory issues..

2003-11-12 Thread JFRI (Jesper Frickman)
I am using Windows 2000. Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. Tel. +1 919 494 3266 Fax +1 919 494 3460 -Original Message- From: Thomas W Blackwell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 10:43 AM To: JFRI

Re: [R] Chron, as.POSIXct problem

2003-11-12 Thread Prof Brian Ripley
Does not happen on Solaris or Linux, so looks like a MacOS X problem. Here is some crosschecks: unclass(datesTest) [1] -6301 -6300 -6299 attr(,format) [1] m/d/y attr(,origin) month day year 1 1 1970 unclass(as.POSIXct(datesTest)) [1] -544406400 -54432 -544233600 On Wed, 12

Re: [R] problem with x11 and PS devices on different machines

2003-11-12 Thread Timur Elzhov
On Wed, Nov 12, 2003 at 07:14:01PM +0700, Philippe Glaziou wrote: The width and height of a default R x11 plotting window are both 7 inches. There will be a different number of dots within those 7x7 square inches if the number of dots per inch is not similar. This could be the case even

RE: [R] Memory issues..

2003-11-12 Thread Prof Brian Ripley
On Wed, 12 Nov 2003, JFRI (Jesper Frickman) wrote: How much processing takes place before you get to the lme call? Maybe R has just used up the memory on something else. I think there is a fair amount of memory leak, as I get similar problems with my program. I use Windows, right? I don't

[R] postscript: font size in text(x,y,label)?

2003-11-12 Thread ivo welch
I would like to just create my (point) labels [created by text(x,y,labels)] in smaller font size, especially when I write out to eps. all other point sizes should not change. is this possible? help appreciated. regards, /iaw __ [EMAIL PROTECTED]

Re: [R] Alpha values

2003-11-12 Thread Prof Brian Ripley
Yes, but currently only alpha=0 and alpha=255 are supported by the available devices that I know of (and I introduced this). Adding alpha-level support is complicated for the devices people normally use, although it would be trivial in PDF1.4. On Wed, 12 Nov 2003, Crispin Miller wrote: Does

Re: [R] / operator in model formula

2003-11-12 Thread Prof Brian Ripley
On Wed, 12 Nov 2003, Landis, R Matthew wrote: Dear R-help folks, Can someone guide me to a source where I can learn more about the / operator in model formulae? I found a reference to it in Venables and Ripley's MASS, p. 142, where it says, in reference to ANCOVA: Terms of the form a/x,

Re: [R] Chron, as.POSIXct problem

2003-11-12 Thread Philippe Glaziou
Prof Brian Ripley [EMAIL PROTECTED] wrote: Does not happen on Solaris or Linux, so looks like a MacOS X problem. It does not happen on my Mac G4 box (R 1.8.0 on MacOSX 10.2.6). --Philippe Here is some crosschecks: unclass(datesTest) [1] -6301 -6300 -6299 attr(,format) [1] m/d/y

RE: [R] Memory issues..

2003-11-12 Thread JFRI (Jesper Frickman)
I have just tried listing limsdata from the workspace and it is indeed gone from .GlobalEnv. I also tried passing the environment to the as.formula function, but it still doesn't work. Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. Tel. +1 919 494

RE: [R] Chron, as.POSIXct problem

2003-11-12 Thread Gabor Grothendieck
You are being hit by a timezone problem. Its not really shifting the days by one. Its working in the GMT timezone, not yours. If you can accept a date format that chron supports then this is the easiest solution since chron does not support timezones and so can't give you such problems in

Re: [R] / operator in model formula

2003-11-12 Thread Peter Dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: The difference is between testing and crossing. In a / b the levels of b are unrelated for different levels of a, whereas in a*b they are the same levels. ...nesting and crossing, of course. -- O__ Peter Dalgaard Blegdamsvej

Re: [R] postscript: font size in text(x,y,label)?

2003-11-12 Thread Dirk Eddelbuettel
On Wed, Nov 12, 2003 at 11:05:05AM -0500, ivo welch wrote: I would like to just create my (point) labels [created by text(x,y,labels)] in smaller font size, especially when I write out to eps. all other point sizes should not change. is this possible? help appreciated. regards, /iaw

[R] RMySQL

2003-11-12 Thread Arend P. van der Veen
HI, I have been having trouble installing RMySQL under Redhat Linux 9.0. I am using R 1.8.0 and MySQL 4.0.13. MySQL is install in /opt/mysql. I try to install RMySQL using configure-args to specify the path of mysql but it does not work. Does any body have any suggestions. Thanks, Arend van

RE: [R] repeat until function

2003-11-12 Thread Liaw, Andy
As others already pointed out, the fast way is to use sample(). What I'd like to add is the following, which I learned from peeking at the C code underneath sample(): To draw n samples without replacement from 1:N (N=n), you only need a loop from 1 to n that used up n random numbers. The

Re: [R] postscript: font size in text(x,y,label)?

2003-11-12 Thread Philipp Pagel
Hi! I would like to just create my (point) labels [created by text(x,y,labels)] in smaller font size, especially when I write out to eps. all other point sizes should not change. is this possible? help I don't know how to define the point size exactly (since ps=something

[R] question about matrix

2003-11-12 Thread Mikyoung Jun
Hello, I have a few questions about matrix in R. Can we make a matrix whose elements are list? I would like to save two different values in each elements of matrix. If there is a package or something which can deal with complex numbers, that will do it too. Also, I am wondering whether there is

RE: [R] repeat until function

2003-11-12 Thread Prof Brian Ripley
On Wed, 12 Nov 2003, Liaw, Andy wrote: As others already pointed out, the fast way is to use sample(). What I'd like to add is the following, which I learned from peeking at the C code underneath sample(): To draw n samples without replacement from 1:N (N=n), you only need a loop from 1 to

Re: [R] repeat until function

2003-11-12 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: This is obviously not efficient in high-level languages like R, but in terms of algorithm, it is a lot more efficient than check-and-reject. IMHO this should be described in some book, but I have not seen any book describing it. I'm pretty sure I have -

Re: [R] RMySQL

2003-11-12 Thread Prof Brian Ripley
Do you actually have the MySQL client libraries installed? They are in a separate RPM, if you used RPMs, something like MySQL-client-4.0.16-0.i386.rpm. On 12 Nov 2003, Arend P. van der Veen wrote: I have been having trouble installing RMySQL under Redhat Linux 9.0. I am using R 1.8.0 and

Subject: RE: [R] Time plot question.

2003-11-12 Thread heimdal
Hello, Thank you for your reply. I am missing an intermediate step as plot( strptime( Time, format = %H:%M:%S), FreeMemory) Error in strptime(Time, format = %H:%M:%S) : invalid `x' argument plot( strptime( c(Time), format = %H:%M:%S), FreeMemory) Error in strptime(c(Time), format =

Re: [R] repeat until function

2003-11-12 Thread Duncan Murdoch
On Wed, 12 Nov 2003 12:00:06 -0500, Liaw, Andy [EMAIL PROTECTED] wrote : This is obviously not efficient in high-level languages like R, but in terms of algorithm, it is a lot more efficient than check-and-reject. IMHO this should be described in some book, but I have not seen any book

Re: [R] RMySQL couldn't find function .valueClassTest

2003-11-12 Thread Arend P. van der Veen
I compile MySQL from source and do have the client libraries installed (I can run mysql from a terminal) However, I was able to compile RMySQL by: # export PKG_CPPFLAGS=-I/opt/mysql/include # export PKG_LIBS=-L/opt/mysql/lib -lmysqlclient # R CMD INSTALL RMySQL_0.5-2.tar.gz Now I am having the

Re: [R] CircStats reveals underlying R bug?

2003-11-12 Thread John Christie
On Nov 12, 2003, at 9:28 AM, Ben Bolker wrote: Maybe you should take this up with package maintainers (who may or may not be reading R-help) ... this sounds like a design/documentation issue rather than a bug per se (although the distinction is not always clear). To be honest, the underlying

[R] Usando Tcltk com o Sistema R

2003-11-12 Thread mcaj
Fiz um arquivo em tcltk para ser utilizado no Sistema R, porém estou necessitanto neste arquivo de chamar uma função do R, então saberia me informar como chamo uma função do R em um arquivo TclTk? Alguém poderia me dá alguma sugestão quanto a utilizar a liguagem TclTk (com o comando

Re: [R] question about matrix

2003-11-12 Thread Thomas W Blackwell
Mikyoung - All answers are yes, but IMHO you are trying to be too clever with your data structure. Programming is *much* easier if you keep things simple. Specifically: (1) The function matrix() will happily build you a matrix of type list, with each element of the list occupying one cell

[R] Using tcltk language with R system

2003-11-12 Thread mcaj
Hello, Does anybody know how can i call a R function in a tcltk file? I made a tcltk file, but I need call functions in R. i.e: in R I can put .Tcl(tcltk statement). There are a same command to call R in a tcltk file? I want to make a R Gui using tcltk language, do you recommend use a tcltk

Re: [R] Using tcltk language with R system

2003-11-12 Thread Marc Schwartz
On Wed, 2003-11-12 at 13:41, [EMAIL PROTECTED] wrote: Hello, Does anybody know how can i call a R function in a tcltk file? I made a tcltk file, but I need call functions in R. i.e: in R I can put .Tcl(tcltk statement). There are a same command to call R in a tcltk file? I want to make a

RE: [R] RMySQL couldn't find function .valueClassTest

2003-11-12 Thread Trond Rafoss
Hi Arend, I had the same problem on RH 9 as you, but the tip on http://stat.bell-labs.com/RS-DBI/download/index.html at the bottom telling: The following are some workarounds: append the line export(.valueClassTest) to the file $R_HOME/src/library/methods/NAMESPACE where $R_HOME refers to

[R] setValidity and initialize method conflict ?

2003-11-12 Thread Thomas Stabla
Hello, i am using classes and want to force an validity check when an object is created. platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major1 minor7.1 year 2003 month06 day 16 language R Following piece of code works fine, just

[R] I receiv an error when try to run a function...

2003-11-12 Thread Marcelo Luiz de Laia
Hi All, I use R 1.8.0 and Bioconductor packages in Windows 2000 professional. When I try to run one function, I will receive one dialog box with this message: Rgui.exe has generate errors and will be closed by Windows. You will need to restart the program. An error log is being created. I look

Re: [R] Alpha values

2003-11-12 Thread Paul Murrell
Hi The only other current possibility I know of is by producing grid graphics output in SVG format. A simple example ... library(grid) # Get from http://www.stat.auckland.ac.nz/~paul/ library(gridSVG) # Important push.viewport(viewport(gp=gpar(col=black, fill=NA))) grid.circle(x=0.4, r=0.3,

RE: [R] Chron, as.POSIXct problem

2003-11-12 Thread Brian Beckage
Thanks to all who responded to my posting. At 11:39 AM -0500 11/12/03, Gabor Grothendieck wrote: You are being hit by a timezone problem. Its not really shifting the days by one. Its working in the GMT timezone, not yours. If you can accept a date format that chron supports then this is the

[R] lme: estimates and confidence intervals for crossed fixed effects

2003-11-12 Thread Andrew Robinson
Hi all, I'm fitting a mixed-effects model that has two fixed factors and their interaction. I'd like to obtain a dataframe of estimates and standard errors for the estimates for each combination of the levels. AB Yhat se a1 b1 a1 b2 a1 b3 a2 b1 a2 b2 a2 b3 etc I believe that I

RE: [R] repeat until function

2003-11-12 Thread Liaw, Andy
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Ripley (1987) Stochastic Simulation, pp.80-1 for one. I am pretty sure it is Knuth's book, although I don't have that to hand. I attribute it to Moses Oakford (1963). Thanks to Brian, Peter and Duncan for the info. And I have both

[R] Plotting lm() attributes

2003-11-12 Thread Murray Jorgensen
Suppose you fit a linear model model.1 ~ lm(v1 ~ ..., data=myframe) and v2 is some other column of myframe typically not in the model. You will often want to try plot(v2, model.1$residuals) but this will fail if there are NAs in the response v1 as model.1$residuals has length equal to the

[R] Formatting axis label numbers on plots

2003-11-12 Thread M. Edward (Ed) Borasky
Is there any way to control the format of the axis label numbers on a plot? More specifically, I have some plots that get axes with label numbers in exponential format, and I'd like to change that to non-exponential. Thanks!! -- M. Edward (Ed) Borasky, MS, MNLP, NST, FBG, PGS PTA [EMAIL

[R] Course***R/Splus Fundamentals and Programming Techniques, December 2003 @ 4 locations near you! (Princeton, DC, Boston, San Francisco)

2003-11-12 Thread sue
XLSolutions Corporation ([1]www.xlsolutions-corp.com/training.htm) is proud to announce December 2-day R/S-plus Fundamentals and Programming Techniques. Washington, DC - September 11-12 Boston, MA - September 11-12 Princeton, NJ

Re: [R] Plotting lm() attributes

2003-11-12 Thread Tony Plate
I believe this is the sort of things that the functions resid() and predict(), in conjunction with na.exclude, are designed for. E.g.: data - data.frame(x=c(1:5), y=c(1,3,2,NA,4)) m - lm(y~x, data=data, na.action=na.exclude) predict(m) 12345 1.40

[R] Course***R/Splus Fundamentals and Programming Techniques, December 2003 @ 4 locations near you! (Princeton, DC, Boston, San Francisco)

2003-11-12 Thread sue
XLSolutions Corporation ([1]www.xlsolutions-corp.com/training.htm) is proud to announce December 2-day R/S-plus Fundamentals and Programming Techniques. Washington, DC - December 11-12 Boston, MA - December 11-12 Princeton, NJ

Re: [R] Formatting axis label numbers on plots

2003-11-12 Thread James MacDonald
Look at xaxt and yaxt under ?par, as well as ?axis. HTH, Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 M. Edward (Ed) Borasky [EMAIL PROTECTED] 11/12/03 17:56 PM Is there

Re: [R] Formatting axis label numbers on plots

2003-11-12 Thread John Fox
Dear Ed, Take a look at the scipen option, new (I believe) in R 1.8.0, which can be used to suppress scientific notation. I hope that this helps, John At 02:45 PM 11/12/2003 -0800, M. Edward (Ed) Borasky wrote: Is there any way to control the format of the axis label numbers on a plot? More

Re: [R] (no subject)

2003-11-12 Thread Jason Turner
Stefan Wagner wrote: Hi all, I am looking for a clever way to create the following graph using R: I got information on the shares of some subgroups over time (summing up to 1 in each year). The graph I want to create should display the evelopment of the individual shares over time by shading

RE: [R] question about matrix

2003-11-12 Thread Gabor Grothendieck
You could consider storing your data in 3d array. If A and B are your matrices of first and second numbers, respectively, with both being of the same shape, then: C - array(c(A,B), dim=c(dim(A),2)) gives you a 3d array. For example, C[,,1] is A C[,,2] is B C[2,1,] is the the