Re: [R] colours change in barplot

2003-02-26 Thread Uwe Ligges
Tord Snall wrote: Dear all, I use the code below for my barplot and it looks fine on my screen. But when I paste into my MSWord file, after having copied it by presing the camera, the colours change. The same actually happens when I change the size of the R Graphics Device window by dragging the c

Re: [R] horizontal high-density lines?

2003-02-26 Thread Uwe Ligges
Remko Duursma wrote: Hi all, the option type="h" in plot() makes nice vertical (histogram-like) lines. Is there a way to make similar, horizontal lines? I can of course resort to using lines() multiple times, but i was hoping that there is a more elegant solution. thanks, Remko Duursma I guess

Re: [R] epoch time conversion in R

2003-02-26 Thread Jerome Asselin
Install the "chron" package. Then convert the seconds into days... Also have a look at the help file for chron(). Below is an example. Cheers, Jerome library(chron) epoch <- c(month=3,day=23,year=1935) data.seconds <- 1046315697+(0:10)*60*60*24 data.days <- data.seconds/(60*60*24) fulldate <- c

[R] PRESS

2003-02-26 Thread Jacob van Wyk
Hallo Can anybody please help? How can I get the PRESS (predicted sum of squares) criterion in R? Thank you Jacob Jacob L van Wyk Department of Mathematics and Statistics Rand Afrikaans University P O Box 524 Auckland Park 2006 South Africa Tel: +27-11-489-3080 Fax: +27-11-489-2832 __

[R] epoch time conversion in R

2003-02-26 Thread Sharad Agarwal
I have a data file where each entry is indexed by the time in seconds since epoch (e.g. 1046315697). Is there an easy way to convert this time value into a more friendly time (such as Month-Year) when plotting it? I searched through the manual, mailing lists, and functions like as.POSIXct and s

Re: [R] horizontal high-density lines?

2003-02-26 Thread Spencer Graves
What about 'plot(1:4, type="s")'? Is this what you want? Spencer Graves Thomas W Blackwell wrote: On Wed, 26 Feb 2003, Remko Duursma wrote: Hi all, the option type="h" in plot() makes nice vertical (histogram-like) lines. Is there a way to make similar, horizontal lines? I can of course resort

Re: [R] horizontal high-density lines?

2003-02-26 Thread Thomas W Blackwell
On Wed, 26 Feb 2003, Remko Duursma wrote: > Hi all, > > the option type="h" in plot() makes nice vertical (histogram-like) > lines. Is there a way to make similar, horizontal lines? I can > of course resort to using lines() multiple times, but i was hoping > that there is a more elegant solutio

[R] horizontal high-density lines?

2003-02-26 Thread Remko Duursma
Hi all, the option type="h" in plot() makes nice vertical (histogram-like) lines. Is there a way to make similar, horizontal lines? I can of course resort to using lines() multiple times, but i was hoping that there is a more elegant solution. thanks, Remko Duursma Ph.D. student Dept. Fore

FW: [R] DLL Advice

2003-02-26 Thread Liaw, Andy
For those who are interested. Anyone care to comment? I have no idea the performance gap on simple i/o can be that big... Andy From: Jason Fisher [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: RE: [R] DLL Advice Hi Andy... Comparing apples

Re: [R] COURSE***R/S-plus Fundamentals and Programming Techniques***March 2003/Boston

2003-02-26 Thread hugo vanwoerkom
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce a 2-day course: "R/S-plus Fundamentals and Programming Techniques". Boston, MA-> March 13-14 <...> Did I miss the price of the course? Hugo. Find out who's green and who's not! Use Care2's Green Thumbs-up

[R] colours change in barplot

2003-02-26 Thread Tord Snall
Dear all, I use the code below for my barplot and it looks fine on my screen. But when I paste into my MSWord file, after having copied it by presing the camera, the colours change. The same actually happens when I change the size of the R Graphics Device window by dragging the corners. Could som

[R] DLL Advice

2003-02-26 Thread Jason Fisher
Hi All... A few questions concerning the use of DLLs in R. Before you get scared off and don’t read any further (I’ve seen a lot of talk within the help pages concerning loading DLLs in R) realize that communication between R and my DLLs is solid. The problem arises when comparing the computa

Re: [R] R performance, labeling questions, etc.

2003-02-26 Thread Prof Brian D Ripley
On Tue, 25 Feb 2003, Tony Vargas wrote: > R helpers, > > I am trying to add labels to my graphs. I have a Perl Program which > generates thousands of R files like the one attached. > > My data files have 2 - 8 columns in them. The first column of every data > file is a header (Time) - which I wa

[R] Re: R-help digest, Vol 1 #89 - 53 msgs

2003-02-26 Thread Jim_Garrett
I couldn't resist tossing in my two-cents' worth on this, because R has some language features that allow you to use efficient optimization routines in a straightforward, elegant way. I'm particularly enthusiastic about this because I have suffered through other languages, which made this approa

[R] help in writong an EViews programme

2003-02-26 Thread Haitham Nobanee
Dear all, I have a daily date for 1283 companies listed in Tokyo Stock Exchange. My data covers the periods 1990-2002. I need to write an EVIEWS programme in order to run the E-GARCH (1.1) IN MEAN. My variables are: X the independent variable, which is the closing price for the market index.

[R] COURSE***R/S-plus Fundamentals and Programming Techniques***March 2003/Boston

2003-02-26 Thread elvis
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce a 2-day course: "R/S-plus Fundamentals and Programming Techniques". Boston, MA-> March 13-14 Course Description: This two-day R/S-plus course focuses on a broad spectrum of topics, from reading raw data

Re: [R] calculationg condition numbers

2003-02-26 Thread Martin Maechler
> "ChrisL" == Christoph Lehmann <[EMAIL PROTECTED]> > on Wed, 26 Feb 2003 15:37:58 +0100 writes: ChrisL> am I right in the assumption, that for calculation ChrisL> of the condition numbers I have to use the ChrisL> correlation matrix of X, and not t(x) %*% x? not quite. R

[R] calculationg condition numbers

2003-02-26 Thread Christoph Lehmann
am I right in the assumption, that for calculation of the condition numbers I have to use the correlation matrix of X, and not t(x) %*% x? > e <- eigen(t(x) %*% x) better (x must not have a first column of ones): > e <- eigen(cor(x)) > e$val [1] 6.6653e+07 2.0907e+05 1.0536e+05 1.8040e+04 2.45

Re: [R] Exporting Splus Data to R

2003-02-26 Thread ripley
On Tue, 25 Feb 2003, Paul, David A wrote: > Using > > > data.dump(c("foo.frame.1","foo.frame.2", ...), file="DumpData", > oldStyle=T) > > in Splus generates the requisite file in my working Splus directory. > However, when I use > > > library(foreign) > > data.restore(file = "C:/.../DumpData"

[R] na.action in model.tables and TukeyHSD

2003-02-26 Thread CG Pettersson
Hello everybody! I use R 1.6.2 in Windows, and have a problem controlling the na.action. In a dataset with twelve trials, one of the trials lack any readings of the variable "STS.SH" (standing power at harvest) Fitting an aov() object with the call: led1t7sts.aov <- aov(STS.SH ~ Trial/Block + T

Re: [R] plot mutiple graphs in one .eps

2003-02-26 Thread Sundar Dorai-Raj
Christoph Lehmann wrote: how can I use the following approach correctly to print all plots into one .eps file? thanks for a hint, even a documentation describing it easily: opar <- par(mfrow = c(4,4), pty= "s", oma = c(0, 0, 0, 0)) postscript("bivreg01.eps") plot(CMEDV ~ CRIM, HousePrice) plot(C

[R] plot mutiple graphs in one .eps

2003-02-26 Thread Christoph Lehmann
how can I use the following approach correctly to print all plots into one .eps file? thanks for a hint, even a documentation describing it easily: > opar <- par(mfrow = c(4,4), pty= "s", oma = c(0, 0, 0, 0)) > postscript("bivreg01.eps") > plot(CMEDV ~ CRIM, HousePrice) > plot(CMEDV ~ ZN, HousePri

Re: [R] plot as .ps file: where are the axes and labels gone

2003-02-26 Thread Uwe Ligges
Christoph Lehmann wrote: Sorry, I am sure, this must be documented somewhere (but there are that many docs and tutorials to scan for topics..., actually a great thing... but if you are in a hurry..): I want to save a plot as .ps (or .eps): postscript("plot1.eps", horizontal=FALSE, onefile=FALSE,h

[R] plot as .ps file: where are the axes and labels gone

2003-02-26 Thread Christoph Lehmann
Sorry, I am sure, this must be documented somewhere (but there are that many docs and tutorials to scan for topics..., actually a great thing... but if you are in a hurry..): I want to save a plot as .ps (or .eps): > postscript("plot1.eps", horizontal=FALSE, onefile=FALSE,height=8,width=8,pointsi

Re: [R] waveform plotting

2003-02-26 Thread Uwe Ligges
Hi from Zynnel wrote: Another question I have is what is the best plotting to use if I want to get something like a waveform produced from points. Thanks. Elena Zheleva Reading "An Introduction to R" carefully leads to plot(..., type = "l") Uwe Ligges

Re: [R] multiple plot overlay - dataframe

2003-02-26 Thread MEGA
>I hope you could help me with this. I have a dataframe >with 5 columns, the first column determining the X >values, and the rest four determining four separate Y >vectors. How can I plot them on the same graph, >overlaying each other? Use matplot() to plot several plots in the same window. help(

Re: [R] R performance, labeling questions, etc.

2003-02-26 Thread Uwe Ligges
Tony Vargas wrote: R helpers, I am trying to add labels to my graphs. I have a Perl Program which generates thousands of R files like the one attached. My data files have 2 - 8 columns in them. The first column of every data file is a header (Time) - which I want to have plotted against everythi