[R] mutlicollinearity and MM-regression

2004-08-16 Thread Carsten . Colombier
Dear R users, Usually the variance-inflation factor, which is based on R^2, is used as a measure for multicollinearity. But, in contrast to OLS regression there is no robust R^2 available for MM-regressions in R. Do you know if an equivalent or an alternative nmeasure of multicollinearity is

Re: [R] mutlicollinearity and MM-regression

2004-08-16 Thread Prof Brian Ripley
On Mon, 16 Aug 2004 [EMAIL PROTECTED] wrote: Dear R users, Usually the variance-inflation factor, which is based on R^2, is used as a measure for multicollinearity. I disagree, strongly, that this is `usual' practice. But, in contrast to OLS regression there is no robust R^2 available

[R] place 4 ini files

2004-08-16 Thread Thomas . Bock
Dear expeRts, I collect some lab specific functions for a package. Some of this functions need initial data (ini files written in R-code). My question is: Where is the place in the package structure for such files; how to load the files? I think something like:

Re: [R] place 4 ini files

2004-08-16 Thread asemeria
I think was better for you to save data with save(your.ini.RData) and use load(your.ini.RData) to load it. Best! A.S. Alessandro Semeria Models and Simulations Laboratory Montecatini Environmental Research Center (Edison Group), Via Ciro Menotti 48, 48023 Marina di

Re: [R] place 4 ini files

2004-08-16 Thread Prof Brian Ripley
Please do read what writing R extensions says about the data directory. This is not a correct use of that directory, and may well fail in the next release. I suggest you install them in an ini directory, by putting them in inst/ini in the package sources. On Mon, 16 Aug 2004 [EMAIL PROTECTED]

[R] plot.table on R 1.9.1

2004-08-16 Thread Meinhard GMX
Hello! What is wrong on my system? I have downloaded today R 1.9.1 on my PC with Windows. plot.table isn't available in package base and neither in package graphics (as suggested after ?plot.table). Kind regards Meinhard Ploner [[alternative HTML version deleted]]

[R] adding sem to a plot

2004-08-16 Thread Luis Rideau Cruz
R-help, I have a barplot and I wish to add standard erros (or deviations) bars to it. How? Thank you Luis Ridao Cruz Fiskirannsóknarstovan Nóatún 1 P.O. Box 3051 FR-110 Tórshavn Faroe Islands Phone: +298 353900 Phone(direct): +298 353912 Mobile: +298 580800 Fax:

Re: [R] plot.table on R 1.9.1

2004-08-16 Thread Uwe Ligges
Meinhard GMX wrote: Hello! What is wrong on my system? I have downloaded today R 1.9.1 on my PC with Windows. plot.table isn't available in package base and neither in package graphics (as suggested after ?plot.table). No. plot.table() is in package graphics: graphics:::plot.table but hidden in

Re: [R] plot.table on R 1.9.1

2004-08-16 Thread Prof Brian Ripley
I don't see anything in ?plot.table about calling plot.table: the usage is stated as ## S3 method for class 'table': plot(x, type = h, ylim = c(0, max(x)), lwd = 2, xlab = NULL, ylab = NULL, frame.plot = is.num, ...) Perhaps you are trying to use it incorrectly? plot.table

Re: [R] plot.table on R 1.9.1

2004-08-16 Thread Kevin Wang
Hi, On Mon, 16 Aug 2004, Meinhard GMX wrote: Hello! What is wrong on my system? I have downloaded today R 1.9.1 on my PC with Windows. plot.table isn't available in package base and neither in package graphics (as suggested after ?plot.table). You should not use plot.table. Use plot(x)

Re: [R] adding sem to a plot

2004-08-16 Thread Peter Dalgaard
Luis Rideau Cruz [EMAIL PROTECTED] writes: R-help, I have a barplot and I wish to add standard erros (or deviations) bars to it. How? par(ask=T);example(barplot) should give you the general idea. -- O__ Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of

Re: [R] adding sem to a plot

2004-08-16 Thread Kevin Wang
Hi, On Mon, 16 Aug 2004, Luis Rideau Cruz wrote: R-help, I have a barplot and I wish to add standard erros (or deviations) bars to it. How? Marc Schwartz has an article on this in R News 3/2 (October 2003). HTH, Kevin Ko-Kang Kevin Wang PhD Student Centre

Re: [R] adding sem to a plot

2004-08-16 Thread Dimitris Rizopoulos
Hi Luis, take a look at these two links: http://tolstoy.newcastle.edu.au/R/help/04/06/1129.html http://tolstoy.newcastle.edu.au/R/help/04/06/1134.html I hope this helps. Best, Dimitris Dimitris Rizopoulos Doctoral Student Biostatistical Centre School of Public Health Catholic University

Re: [R] mutlicollinearity and MM-regression

2004-08-16 Thread John Hendrickx
--- [EMAIL PROTECTED] wrote: Dear R users, Usually the variance-inflation factor, which is based on R^2, is used as a measure for multicollinearity. But, in contrast to OLS regression there is no robust R^2 available for MM-regressions in R. Do you know if an equivalent or an alternative

[R] Does anybody runs R on the hp ML 370 or ML570 servers?

2004-08-16 Thread Li, Aiguo (NIH/NCI)
Dear all. I am trying to buy a hp server to run R and to complete some other tasks with limited bugets. The r-project.org site recommended that R will run on hppa-hp-hpux. However this system is out of our buget and ML system from hp is much cheaper. Is there anybody running R on ML370 or ML

Re: [R] Does anybody runs R on the hp ML 370 or ML570 servers?

2004-08-16 Thread Prof Brian Ripley
On Mon, 16 Aug 2004, Li, Aiguo (NIH/NCI) wrote: I am trying to buy a hp server to run R and to complete some other tasks with limited bugets. The r-project.org site recommended that R will run on hppa-hp-hpux. I don't think they are _recommended_ there. However this system is out of our

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Laura Quinn
As our IT man is currently on holiday I am not able to upgrade to version 1.9.0(or 1.9.1) at the moment, and I see that the gregmisc library will not work on earlier versions (I am using 1.8.0). Does anyone have any other suggestions how I might be able to acheive this? Thank you Laura Quinn

Re: [R] Stacking Vectors/Dataframes

2004-08-16 Thread hadley wickham
Hi Laura, Off the top of my head I'd suggest something like this (assuming your data frames are named a and b) a$ord - 1:nrow(a) b$ord - (1:nrow(b))*2 c - rbind(a, b) c - c[order(c$ord), ] ie. add a new column that has the desired ordering, then join the two data frames together, then reorder.

Re: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Samuelson, Frank*
or something like new.frame-rbind(x.frame,y.frame); # A frame of the right size. new.frame[seq(1,nrow(x.frame),by=2),] - x.frame # Assign every other row new.frame[seq(2,nrow(x.frame),by=2),] - y.frame # Assign every other row. -Original Message- From: Laura Quinn [mailto:[EMAIL

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Samuelson, Frank*
Oops there was a bug... new.frame-rbind(x.frame,y.frame); # A frame of the right size. new.frame[seq(1,nrow(new.frame),by=2),] - x.frame # Assign every other row new.frame[seq(2,nrow(new.frame),by=2),] - y.frame # Assign every other row. -Original Message- From: Samuelson, Frank*

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Marc Schwartz
Archived versions of gregmisc (and other packages) are available from: http://cran.r-project.org/src/contrib/Archive/ Download one of the older versions (ie. 0.8.5) and install it from a console using R CMD INSTALL. If you are restricted from installing packages to the main R tree (ie. you do

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Martin Maechler
Laura == Laura Quinn [EMAIL PROTECTED] on Mon, 16 Aug 2004 14:33:45 +0100 (BST) writes: Laura As our IT man is currently on holiday I am not able Laura to upgrade to version 1.9.0(or 1.9.1) at the moment, Laura and I see that the gregmisc library will not work on Laura

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Adaikalavan Ramasamy
Yes, make a local installation on your home directory or another machine which you have write access to. AFAIK, you cannot update R itself. You will need to install R-1.9.1 and delete the old version as opposed to upgrading from it. You can try to salvage the lib directory but it is much better

[R] Does anybody has a build on the following systems?

2004-08-16 Thread Li, Aiguo (NIH/NCI)
Dear all We am trying to buy a computer with limited buget and I would like to make sure that R can be installed and run on it. Does anybody has a R build for wz1002-sun-redhad(linux) and sunfire402-sun-redhat(linux)? As far as I know these two systems are both 64 bits architechture and have

[R] Multiple logistic curves

2004-08-16 Thread Dan Bebber
Dear list, Apologies, I have sent this message before but received no replies so I'm trying again just in case... Motivated by the discovery of 'loglet analysis' (http://phe.rockefeller.edu/LogletLab/) that allows decomposition of growth curves into a series of logistic equations, I attempted to

[R] huge array with floats: allocation error

2004-08-16 Thread Christoph Lehmann
Hi After searching through a couples of documents and the mailing list I dare to ask it here I need to define an array with the size 64 x 64 x 16 x 1000 for single-precision floating-point numbers. With 1G RAM I get always the error: cannot allocate vector of size 458752 Kb reached total

[R] using nls to fit a four parameter logistic model

2004-08-16 Thread sraghavan
Shalini Raghavan 3M Pharmaceuticals Research Building 270-03-A-10, 3M Center St. Paul, MN 55144 E-mail: [EMAIL PROTECTED] Tel: 651-736-2575 Fax: 651-733-5096 - Forwarded by Shalini Raghavan/US-Corporate/3M/US on 08/16/2004 11:25 AM -

Re: [R] huge array with floats: allocation error

2004-08-16 Thread Prof Brian Ripley
On Mon, 16 Aug 2004, Christoph Lehmann wrote: After searching through a couples of documents and the mailing list I dare to ask it here I don't believe you read the rw-FAQ as the posting guide asks, though. You seem to be working under Windows, without saying so (and the posting guide does

[R] (no subject)

2004-08-16 Thread Paolo Tommasini
Hi there I teach a statistics class with R ( the first time ever with R) and some of my students have windows at home and they want to be able to graphs tjhey make in our college ( that only has Linux) and oopen with windows, I think the best wya would be saving it as a JPEG file but I don't

Re: [R] huge array with floats: allocation error

2004-08-16 Thread Christoph Lehmann
Thank you, Prof. Ripley I don't believe you read the rw-FAQ as the posting guide asks, though. You seem to be working under Windows, without saying so (and the posting guide does ask you to). So that's `a couples of documents' worth `searching through'. I apologize for not being more precise.

Re: [R] portable graphics output; was: (no subject)

2004-08-16 Thread Roger Bivand
On Mon, 16 Aug 2004, Paolo Tommasini wrote: Hi there I teach a statistics class with R ( the first time ever with R) and some of my students have windows at home and they want to be able to graphs tjhey make in our college ( that only has Linux) and oopen with windows, I think the best wya

Re: [R] (no subject)

2004-08-16 Thread Arne Henningsen
look at ?jpeg PNG format might be better: ?png Arne On Monday 16 August 2004 18:48, Paolo Tommasini wrote: Hi there I teach a statistics class with R ( the first time ever with R) and some of my students have windows at home and they want to be able to graphs tjhey make in our college (

[R] capture stderr in Windows

2004-08-16 Thread Moises Hassan
I'm using the following command to run R in Windows Rterm --no-save --no-restore Rscriptfile Rstdoutfile How can I capture the text sent by R to stderr in a file? Thanks, - Moises [[alternative HTML version deleted]] __

[R] turning off automatic coersion from list to matrix

2004-08-16 Thread HENRIKSON, JEFFREY
Hello, I am having trouble understanding how R is coercing between matrices and lists in the following example. I have an aggregate behavior I like: aggregate(a[,num],by=list(product=a[,product],region=a[,region]), sum) Now in reality I have more columns than just product and region, and need

Re: [R] capture stderr in Windows

2004-08-16 Thread Uwe Ligges
Moises Hassan wrote: I'm using the following command to run R in Windows Rterm --no-save --no-restore Rscriptfile Rstdoutfile How can I capture the text sent by R to stderr in a file? Rterm --no-save --no-restore Rscriptfile 21 Rstdoutfile I'd rather use R CMD BATCH anyway. Uwe Ligges

Re: [R] capture stderr in Windows

2004-08-16 Thread Duncan Murdoch
On Mon, 16 Aug 2004 10:25:08 -0700, Moises Hassan [EMAIL PROTECTED] wrote : I'm using the following command to run R in Windows Rterm --no-save --no-restore Rscriptfile Rstdoutfile How can I capture the text sent by R to stderr in a file? That depends on your shell. The standard

[R] extract a row

2004-08-16 Thread Randy Zelick
Hello there, Using 1.9.0 on WinXP... I have a data frame, one column of which is named rate. The column has text entries like fast, medium, slow, very slow, and so forth. I have not tried to make them factors, but maybe R did this automatically. Anyway, I would like to display on the console

Re: [R] capture stderr in Windows

2004-08-16 Thread Duncan Murdoch
I wrote the message below, but it's just plain wrong. The CMD.EXE shell in Win XP (and 2K?) allows redirection of stderr in the usual Unix style: Rterm --no-save --no-restore Rscriptfile Rstdoutfile 2Rstderrfile You can also use 21 to redirect stderr into the stdout stream, so both go to

Re: [R] extract a row

2004-08-16 Thread Adaikalavan Ramasamy
df[ df$rate==slow, ] On Mon, 2004-08-16 at 18:48, Randy Zelick wrote: Hello there, Using 1.9.0 on WinXP... I have a data frame, one column of which is named rate. The column has text entries like fast, medium, slow, very slow, and so forth. I have not tried to make them factors, but

Re: [R] capture stderr in Windows

2004-08-16 Thread Prof Brian Ripley
On Mon, 16 Aug 2004, Duncan Murdoch wrote: The CMD.EXE shell in Win XP (and 2K?) allows redirection of stderr in the usual Unix style: (Yes, all NT-based versions of Windows.) Rterm --no-save --no-restore Rscriptfile Rstdoutfile 2Rstderrfile You can also use 21 to redirect stderr

[R] Sum of squares simultaneous test procedure (SS-STP)

2004-08-16 Thread Rodrigo Drummond
Hi all, I need to run a sum of squares simultaneous test procedure (SS-STP) with R, although I didn't find a function to do this. The command ‘se.contrast’ returns the standard errors for one or more contrasts in an analysis of variance, although it is designed for planned comparisons, and I need

[R] Interacting with Clusters...

2004-08-16 Thread Robert L Obenchain
Dear R--Help, My current research focuses upon sensitivity analyses which require [1] clusterings of patients in a baseline-covariate X space and [2] examining the distribution of within-cluster treatment differences in outcome. I have some primitive R code for this, but I want to be able to

Re: [R] analysis of life tables

2004-08-16 Thread Göran Broström
On Sun, Aug 15, 2004 at 02:28:03PM +0200, Christoph Scherber wrote: Dear all, How can I analyze a life table (e.g. for a cohort of insects) in R? I have 20 insects in 200 cages with two different treatments, whose survival is followed over time, such that, e.g., in one treatment, the

[R] Dotplot with nested factors

2004-08-16 Thread Raubertas, Richard
I am using the dotplot function from the lattice package to display a quantitative variable versus two factors, say 'a' and 'b'. The levels of 'a' are nested within levels of 'b'. The issue is that dotplot includes all the levels of 'a' in each panel (conditioning on 'b'), even though many are

RE: [R] extract a row

2004-08-16 Thread Kevin Bartz
The easiest way to do that is subset(dataframe, rate == slow). Please let me know if you have any more questions. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randy Zelick Sent: Monday, August 16, 2004 10:49 AM To: R list server posting

[R] Re: Dotplot with nested factors

2004-08-16 Thread Deepayan Sarkar
On Monday 16 August 2004 17:06, Raubertas, Richard wrote: I am using the dotplot function from the lattice package to display a quantitative variable versus two factors, say 'a' and 'b'. The levels of 'a' are nested within levels of 'b'. The issue is that dotplot includes all the levels of

[R] ticks on the Time Axis

2004-08-16 Thread Laura Holt
Dear R People: I have the following montly time series ya.ts Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2001 3.7 -0.8 0.3 -1.5 -0.2 -0.4 2.5 -1.0 -1.2 -1.2 0.4 -0.5 2002 0.5 0.0 -0.8 -1.0 0.6 0.8 -0.5 -2.4 1.3 1.4 -0.1 0.5 plot(ya.ts) When the plot is constructed,

[R] Months on the horizontal axis

2004-08-16 Thread Laura Holt
Dear R People: Just in case anyone is interested, here is a particular solution to the months on the horizontal axis question: mon1 [1] J F M A M J J A S O N D mon2 - rep(mon1,2) mon2 [1] J F M A M J J A S O N D J F M A M J J [20] A S O N D ya.ts Jan Feb Mar Apr May Jun Jul Aug Sep

Re: [R] ticks on the Time Axis

2004-08-16 Thread Gabor Grothendieck
Laura Holt lauraholt_983 at hotmail.com writes: : : Dear R People: : : I have the following montly time series : ya.ts : Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec : 2001 3.7 -0.8 0.3 -1.5 -0.2 -0.4 2.5 -1.0 -1.2 -1.2 0.4 -0.5 : 2002 0.5 0.0 -0.8 -1.0 0.6 0.8 -0.5

Re: [R] turning off automatic coersion from list to matrix

2004-08-16 Thread Gabor Grothendieck
HENRIKSON, JEFFREY JEFHEN at SAFECO.com writes: : : Hello, : : I am having trouble understanding how R is coercing between matrices and : lists in the following example. I have an aggregate behavior I like: : : aggregate(a[,num],by=list(product=a[,product],region=a[,region]), : sum) : : Now