Re: [R] genetic algorithm

2005-02-05 Thread Philippe Grosjean
After a little search, I found on CRAN: - gafit: genetic algorithm for curve fitting, - rgenout: R version of genetic optimization using derivatives - subselect: Selecting variable subsets, with function genetic(): genetic algorithm searching for an optimal k-variable subset I don't know if it

Re: [R] arrow head styles?

2005-02-05 Thread Martin Maechler
IvoW == [EMAIL PROTECTED] on Fri, 04 Feb 2005 12:33:52 -0800 writes: IvoW dear R wizards: is it possible to specify different IvoW arrow head styles? E.g., a solid arrow head? Or a IvoW bent arrow head? Or a longer or shorter arrow head? IvoW (perhaps through an add

[R] Std Err on Concentration measures

2005-02-05 Thread Angelo Secchi
Hi, I'm using the ineq package to calculate some concentration measures (Gini, Herfindal, ...) and I was wondering if there's around also a function to calculate standard error on these measures. If not, is anybody aware of where I can find a reference on this point? Thanks. --

Re: [R] Std Err on Concentration measures

2005-02-05 Thread Tim F Liao
David Giles has a paper on calculating standard errors for the Gini: http://web.uvic.ca/econ/ewp0202.pdf Tim Original message Date: Sat, 5 Feb 2005 11:43:02 +0100 From: Angelo Secchi [EMAIL PROTECTED] Subject: [R] Std Err on Concentration measures To: r-help@stat.math.ethz.ch Hi,

Re: [R] Installing R packages in windows

2005-02-05 Thread Uwe Ligges
Liaw, Andy wrote: A half-way decent ftp client would allow you to get all files in a directory, so that ought to be quite easy. ... or wget ... or in R: download.packages(CRAN.packages()[,1], destdir = ..) Uwe Ligges Andy From: Vikas Rawal Thank you. That is useful. But is it possible to

[R] Problem installing Hmisc

2005-02-05 Thread Michael Kubovy
What am I doing wrong? install.packages(Hmisc) trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 47565 bytes opened URL == downloaded 46Kb trying URL

Re: [R] Rare Cases and SOM

2005-02-05 Thread Gabor Grothendieck
Manuel Gutierrez manuel_gutierrez_lopez at yahoo.es writes: : : I am trying to understand how the SOM algorithm works : using library(class) SOM function. : I have a 1000*10 matrix and I want to be able to : summarize the different types of 10-element vectors. : In my real world case it is

Re: [R] Problems compiling (configure) R on Ubuntu linux (debian)

2005-02-05 Thread Peter Dalgaard
=?windows-1250?Q?Ale=9A_=8Eiberna?= [EMAIL PROTECTED] writes: Hello! I would first like to appologice if this question does not fit on this mailing-list. I am new to Linux and I tried to compile R on my Ubuntu Warty linux. I followed the instructions in R Installation and

Re: [R] How to access results of survival analysis

2005-02-05 Thread Uwe Ligges
Heinz Tuechler wrote: Hello, it seems that the main results of survival analysis with package survival are shown only as side effects of the print method. If I compute e.g. a Kaplan-Meier estimate by km.survdur-survfit(s.survdur) then I can simply print the results by km.survdur Call:

Re: [R] Problem installing Hmisc

2005-02-05 Thread Uwe Ligges
Michael Kubovy wrote: What am I doing wrong? install.packages(Hmisc) trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 47565 bytes opened URL == downloaded 46Kb trying URL

Rép : [R] 2 small problems: integer division and the nature of NA

2005-02-05 Thread Denis Chabot
Thanks to the many R users who convinced me that the sum of NAs should be zero and gave me a solution if I did not want it to be zero. Thank you also for the explanations of rounding errors with floating point arithmetics. I did not expect it. This small error was a real problem for me as I

Re: [R] Problems compiling (configure) R on Ubuntu linux (debian)

2005-02-05 Thread Dirk Eddelbuettel
On 5 February 2005 at 14:25, Peter Dalgaard wrote: | =?windows-1250?Q?Ale=9A_=8Eiberna?= [EMAIL PROTECTED] writes: | I am new to Linux and I tried to compile R on my Ubuntu Warty linux. I There is really no need to do this, especially when you're new to Linux. The command $ apt-get

Re: [R] How to access results of survival analysis

2005-02-05 Thread Heinz Tuechler
Hello Ales, thank you for your hint regarding names(summary(fit)). Summary(fit) is a list containig all important results of the Cox-model. So it helps a lot! Regarding the results of a Kaplan-Meier estimate summary does not help, because it does not contain the main results. Thanks again, Heinz

[R] how to make an empty screen

2005-02-05 Thread Søren Merser
Hi I want to plot control charts for several events grouped by employees. As every employees doesn't encounter every event, a variable number of control charts is produced in turn. Now what I need is a way to get a new empty screen when the printout for one employee has finished as the title

Re: [R] How to access results of survival analysis

2005-02-05 Thread Heinz Tuechler
At 15:19 05.02.2005 +0100, Uwe Ligges wrote: Heinz Tuechler wrote: Hello, it seems that the main results of survival analysis with package survival are shown only as side effects of the print method. If I compute e.g. a Kaplan-Meier estimate by km.survdur-survfit(s.survdur) then I

[R] Compressed communication with DB using RMySQL?

2005-02-05 Thread Uri
Dear All, I have a setup where R pulls entries from a MySQL db server. I wanted to know whether the R interface can pull encrypted / compressed data from MySQLD. MySQL supports compressed communication on the server side, but I couldn't find any references to such options on the client (RMySQL)

Re: [R] How to access results of survival analysis

2005-02-05 Thread Uwe Ligges
Heinz Tuechler wrote: At 15:19 05.02.2005 +0100, Uwe Ligges wrote: Heinz Tuechler wrote: Hello, it seems that the main results of survival analysis with package survival are shown only as side effects of the print method. If I compute e.g. a Kaplan-Meier estimate by

Re: [R] Problem installing Hmisc

2005-02-05 Thread Thomas Lumley
On Sat, 5 Feb 2005, Michael Kubovy wrote: What am I doing wrong? You can look at the console log (eg start Console.app in /Applications/Utilities) to see what the problem is, but the fact that Hmisc is not available as a binary package probably means that it does not compile for the Mac (at

Re: [R] Compressed communication with DB using RMySQL?

2005-02-05 Thread David James
Uri wrote: Dear All, I have a setup where R pulls entries from a MySQL db server. I wanted to know whether the R interface can pull encrypted / compressed data from MySQLD. MySQL supports compressed communication on the server side, but I couldn't find any references to such options on the

[R] loess problems

2005-02-05 Thread Jean Eid
I have a problem either understanding what loess is doing or that loess has a problem itself. As the x-axis variables become more concentrated on a particular point,the estimated loess tends to zero. the examples below show what i am talking about, why is that? my intution tells me that it

[Fwd: Re: [R] Problems compiling (configure) R on Ubuntu linux (debian)]

2005-02-05 Thread Ulises M. Alvarez
Original Message Subject: Re: [R] Problems compiling (configure) R on Ubuntu linux (debian) Date: Sat, 5 Feb 2005 12:47:42 -0600 From: Dirk Eddelbuettel [EMAIL PROTECTED] To: Ulises M. Alvarez [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

RE: [R] loess problems

2005-02-05 Thread Liaw, Andy
The problem is that 90% of your data sit on the boundary. Loess is a nearest neighbor smoother (using (100 x span) % of the data to estimate at each point). If you call loess() directly with span=2/3 (the default in scatter.smooth), or something smaller than about 0.91, you'll see that it has

[R] Problem installing Hmisc (more info)

2005-02-05 Thread Michael Kubovy
Frank Harrell suggested I re-post with information about the version of R Heres's the information: version _ platform powerpc-apple-darwin6.8 arch powerpc os darwin6.8 system powerpc, darwin6.8 status major2 minor0.1 year 2004 month11 day

Re: [R] Problem installing Hmisc (more info)

2005-02-05 Thread Prof Brian Ripley
On Sat, 5 Feb 2005, Michael Kubovy wrote: Frank Harrell suggested I re-post with information about the version of R Thanks, that starts to make sense. You appear to have g77 installed, but not in the place the person who prepared the binary install of R has it. Where do you have it installed?

[R] Labelling and formatting of graphics

2005-02-05 Thread Nicholas Galwey
In the output of the code below, I want to do the following: - get hats over some of the betas - get the polygons stippled, not coloured grey - remove the tick marks at the ends of the axes. If I put tick = false, the whole axis disappears. betahat -

[R] plot smooth density estimates for bivariate data

2005-02-05 Thread Yulei He
Hi, there. Suppose I have a bivarariate data matrix y1 and y2. I want to plot a 3-D picture of the estimated density f(y1, y2) against y1 and y2? How can I do that? Do I use persp() or density()? Thanks for your help. Yulei $$$ Yulei He 1586 Murfin Ave. Apt

[R] MC using hclus

2005-02-05 Thread Murli Nair
Has anyone used hclus to determine p-values of a subset of features that give good class separation after clustering ? What I mean is sampling a set of features and checking for class separation by clustering and then determining if the features that give the actual class separation are not

Re: [R] Problem installing Hmisc (more info)

2005-02-05 Thread Michael Kubovy
Following Brian Ripley's advice: $ which g77 /sw/bin/g77 I then found Makeconf, in /Library/Frameworks/R.framework/Versions/2.0.1/Resources/etc I edited it according to Brian's advice. It had: FLIBS = -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2

Re: [R] Problem installing Hmisc (more info)

2005-02-05 Thread Jindan Zhou
I had problem installing Hmisc and Dedign a couple of weeks ago, repetitively. It failed at the stage compiling the last help file (summary, I remember), after long time sucking up system resource. What I did was updated some development tools, such as glibc, gcc, automake, etc., I can't tell

Re: [R] Problem installing Hmisc (more info)

2005-02-05 Thread Prof Brian Ripley
On Sat, 5 Feb 2005, Michael Kubovy wrote: Following Brian Ripley's advice: $ which g77 /sw/bin/g77 So I think you have fink. I then found Makeconf, in /Library/Frameworks/R.framework/Versions/2.0.1/Resources/etc I edited it according to Brian's advice. It had: You didn't. You need to replace