[R] SAS or R software

2004-11-20 Thread neela v
Hi all there Can some one clarify me on this issue, features wise which is better R or SAS, leaving the commerical aspect associated with it. I suppose there are few people who have worked on both R and SAS and wish they would be able to help me in deciding on this. THank you for the help

Re: [R] SAS or R software

2004-11-20 Thread Romain François
Hello, I think you'll get some bias if you do a survey on what software is better SAS or R in a R mailing list. Personnaly, what I like in R is : - the fact to you have to know what you are doing to do it, - the graphic potential is outstanding (only limited by the imagination of the

RE: [R] Running sum

2004-11-20 Thread Philippe Grosjean
Ooops! Sorry. I did not look carefully enough on the code and focused on the term! My proposition is for a running sum with a window width of 2 observations (the title of the question is Running sum, isn't it?), while the true question was indeed about a *cumulative sum*, which is something

Re: [R] SAS or R software

2004-11-20 Thread Kevin Wang
Hi, On Sat, 20 Nov 2004, neela v wrote: Hi all there Can some one clarify me on this issue, features wise which is better R or SAS, leaving the commerical aspect associated with it. I suppose there are few people who have worked on both R and SAS and wish they would be able to help me

Re: [R] SAS or R software

2004-11-20 Thread Jonathan Baron
There was at least one previous discussion of SAS vs. R on this list. I searched my archives (below). The thread begins at http://finzi.psych.upenn.edu/R/Rhelp01/archive/5947.html but then changes title. Two arguments for SAS: 1. You may be working with other people who use it. (That is why

Re: [R] SAS or R software

2004-11-20 Thread Fernando Henrique Ferraz P. da Rosa
neela v writes: Hi all there Can some one clarify me on this issue, features wise which is better R or SAS, leaving the commerical aspect associated with it. I suppose there are few people who have worked on both R and SAS and wish they would be able to help me in deciding on this.

Re: [R] SAS or R software

2004-11-20 Thread Frank E Harrell Jr
neela v wrote: Hi all there Can some one clarify me on this issue, features wise which is better R or SAS, leaving the commerical aspect associated with it. I suppose there are few people who have worked on both R and SAS and wish they would be able to help me in deciding on this. THank you

Re: [R] SAS or R software

2004-11-20 Thread Rolf Turner
neela v wrote: Can some one clarify me on this issue, features wise which is better R or SAS, leaving the commerical aspect associated with it. I suppose there are few people who have worked on both R and SAS and wish they would be able to help me in deciding on this. My personal

RE: [R] subset on data frame

2004-11-20 Thread michael watson (IAH-C)
Try something like mydataframe[rownames(mydataframe) %in% myrow,] Mick -Original Message- From: Lei Jiang [mailto:[EMAIL PROTECTED] Sent: Sat 11/20/2004 12:54 AM To: [EMAIL PROTECTED] Cc: Subject:[R] subset on data frame I have a data frame. And I'd like to subset

Re: [R] annotation problems (conditional text())

2004-11-20 Thread Uwe Ligges
Johannes Graumann wrote: Hello, I'm trying to annotate my plots nicely and am running into trouble. This example contains two problems: a) the 'text()' arguments do not show the conditional behavior I'm trying to give them. I try to test for the intercept of my regression and reformat the output

[R] how to suppress whiskers in a bwplot?

2004-11-20 Thread Alexis J. Diamond
dear R-help, i have looked carefully through the R-help archives for information on how to suppress whiskers in a bwplot. someone asked this question a while ago, but the answer he received is not available in the archives. but i did manage to get my hands on a panel function (called my.panel)

Re: [R] solving system of nonlinear equations

2004-11-20 Thread Enayetur RAHEEM
R version: 2.0.0 OS: WinXP, SP2 I am using nls to estimate parameters of a system of nonlinear equations. Although, iteration is not converging, I would like to get the final estimates and store them in the object, say, RR. Any help would be appreciated. Thanks. The following is not working (

[R] How to change the significant codes default?

2004-11-20 Thread Shigeru Mase
Dear R experts, I am posting this question on behalf of a Japanese R user who wants to know how to change the siginificant codes default. As you know, R's default significant codes are: Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 But he says that it is usual in economics to

[R] Error with strwidth after lattice graphic drawn

2004-11-20 Thread Frank E Harrell Jr
In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R I'm getting an error when using strwidth after a lattice graphic is drawn: library(lattice) xyplot(runif(20) ~ runif(20))

Re: [R] Running sum

2004-11-20 Thread hadley wickham
Perhaps I'm missing something, but isn't the maximum of the cumulative sum simply the last value, ie. sum(x)? As many have mentioned, I was forgetting the negative numbers. Thanks to those who pointed that out. Hadley __ [EMAIL PROTECTED] mailing

Re: [R] solving system of nonlinear equations

2004-11-20 Thread Prof Brian Ripley
On Sat, 20 Nov 2004, Enayetur RAHEEM wrote: R version: 2.0.0 OS: WinXP, SP2 I am using nls to estimate parameters of a system of nonlinear equations. Although, iteration is not converging, I would like to get the final estimates and store them in the object, say, RR. Please read the help page for

Re: [R] How to change the significant codes default?

2004-11-20 Thread Uwe Ligges
Shigeru Mase wrote: Dear R experts, I am posting this question on behalf of a Japanese R user who wants to know how to change the siginificant codes default. As you know, R's default significant codes are: Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1 But he says that it is usual

Re: [R] Error with strwidth after lattice graphic drawn

2004-11-20 Thread Prof Brian Ripley
On Sat, 20 Nov 2004, Frank E Harrell Jr wrote: In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R I'm getting an error when using strwidth after a lattice graphic is drawn:

Re: [R] Error with strwidth after lattice graphic drawn

2004-11-20 Thread Uwe Ligges
Prof Brian Ripley wrote: On Sat, 20 Nov 2004, Frank E Harrell Jr wrote: In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R I'm getting an error when using strwidth after a lattice

Re: [R] how to suppress whiskers in a bwplot?

2004-11-20 Thread Uwe Ligges
The answer to your question is to use a minimal value 0 for the argument coef of bwplot() such as coef=10^(-10) Unfortunately, there is a bug in R-2.0.1, lattice 0.10-14, which shows negative length whiskers for positive values of coef. From ?bwplot: library(lattice) bwplot(voice.part ~

[R] Restore sources

2004-11-20 Thread A. Izad
How can I see my codes (syntax) after restoring a workspace? Also Summery tnx Mike [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to change the significant codes default?

2004-11-20 Thread Ted Harding
On 20-Nov-04 Uwe Ligges wrote: Shigeru Mase wrote: Dear R experts, I am posting this question on behalf of a Japanese R user who wants to know how to change the siginificant codes default. As you know, R's default significant codes are: Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05

Re: [R] Creating logical value from the difference of two absolute values

2004-11-20 Thread Martin Maechler
DougB == Douglas Bates [EMAIL PROTECTED] on Fri, 19 Nov 2004 06:59:49 -0600 writes: DougB Nathan Leon Pace, MD, MStat wrote: Hi, Using R 2.0.1 on Mac g5 running Mac OS X 10.3.6. I would expect that abs(.7 - .5) = abs(.3 - .5) should be returned

RE: [R] SAS or R software

2004-11-20 Thread BXC (Bendix Carstensen)
Two major advantages of SAS that seems to have been overlooked in the previous replies are: 1) The data-set language is SAS for data manipulation is more human-readable than R-code in general. R is not a definite write-only laguage as APL, but in particular in datamanipulation it is

Re: [R] ERROR: installing package indices failed

2004-11-20 Thread Sigal Blay
gregmisc is installed yet the problem persist. I installed gregmisc using install.packages(c(combinat,gregmisc,genetics),lib='/home/sblay/lib') (on the same library path where I am trying to install LDheatmap) installed.packages(lib='/home/sblay/lib') Package LibPath

Re: [R] SAS or R software

2004-11-20 Thread Frank E Harrell Jr
BXC (Bendix Carstensen) wrote: Two major advantages of SAS that seems to have been overlooked in the previous replies are: 1) The data-set language is SAS for data manipulation is more human-readable than R-code in general. R is not a definite write-only laguage as APL, but in particular

[R] Location of grobs etc on lattice output

2004-11-20 Thread John Maindonald
Is there any way, after use of print.trellis(), to obtain the co-ordinates of the plot region, e.g., in what are then the native co-ordinates? e.g. library(DAAG) library(lattice); library(grid) data(cuckoos) pushViewport(viewport(layout=grid.layout(2, 1)))

Re: [R] Location of grobs etc on lattice output

2004-11-20 Thread Deepayan Sarkar
On Saturday 20 November 2004 19:41, John Maindonald wrote: Is there any way, after use of print.trellis(), to obtain the co-ordinates of the plot region, e.g., in what are then the native co-ordinates? Have you read help(trellis.focus)? This is new in 2.0.0 and the recommended API for