[R] query on converting survey data from one structure to another

2003-08-20 Thread Vumani Dlamini
Dear R users, I am trying to convert a dataset from one format to several rectangular datasets. A consultant helped design the data entry program for our survey using Delphi/Pascal and for each household the information is stored in a file called EA-HM-HH.TXT where EA is the enumeration area

[R] (no subject)

2003-08-20 Thread Vumani Dlamini
Dear R users, I am trying to convert a dataset from one format to several rectangular datasets. A consultant helped design the data entry program for our survey using Delphi/Pascal and for each household the information is stored in a file called EA-HM-HH.TXT where EA is the enumeration area

[R] Plots default to Rplots.ps

2003-08-20 Thread Simon Woodhead
Dear All, Hello I'm a newbie to the list. I recently installed R on a Redhat 9.0 system, when I come to plot anything it does not bring up a graphics window but rather stores it in a file Rplots.ps. I tried x11() but that doesn't bring up a window either. I would greatly appreciate any

[R] RandomForest

2003-08-20 Thread Vladimir N. Kutinsky
Hello, When I plot or look at the error rate vector for a random forest (rf$err.rate) it looks like a descending function except for a few first points of the vector with error rates values lower(sometimes much lower) than the general level of error rates for a forest with such number of trees

Re: [R] Plots default to Rplots.ps

2003-08-20 Thread Martyn Plummer
On Wed, 2003-08-20 at 09:22, Simon Woodhead wrote: Dear All, Hello I'm a newbie to the list. I recently installed R on a Redhat 9.0 system, when I come to plot anything it does not bring up a graphics window but rather stores it in a file Rplots.ps. I tried x11() but that doesn't bring

[R] Neural Networks in R

2003-08-20 Thread Miriam Dreißig
Hello! We are a group of three students at Bielefeld University currently working on a statistical projects about neural networks. Within the framework of this project we are supposed to use the nnet-function in R and explain how it works. Since anyone of us has much experience in using R we hoped

[R] aide

2003-08-20 Thread Christine Tuleau
Bonjour, J'aimerais savoir si quelqu'un pourrait m'aider en ce qui concerne l'utilisation du package waveslim. Je voudrais savoir comment on fait pour revenir a un signal d'origine lorsque l'on dispose de coefficients de detail et d'approximation. Merci d'avance Tuleau Christine ([EMAIL

Re: [R] query on converting survey data from one structure to another

2003-08-20 Thread Jonathan Baron
On 08/20/03 07:13, Vumani Dlamini wrote: Dear R users, I am trying to convert a dataset from one format to several rectangular datasets. A consultant helped design the data entry program for our survey using Delphi/Pascal and for each household the information is stored in a file called

Re: [R] Neural Networks in R

2003-08-20 Thread Ko-Kang Kevin Wang
Hi, Venables and Ripley's Modern Applied Statistics with S, 4th Ed, Springer. It is the best book and has a large section devoted to using the nnet library. Of course, you need to understand the theory first;-D On Wed, 20 Aug 2003, Miriam Dreißig wrote: Date: Wed, 20 Aug 2003 12:54:18

Re: [R] aide

2003-08-20 Thread Uwe Ligges
Christine Tuleau wrote: Bonjour, J'aimerais savoir si quelqu'un pourrait m'aider en ce qui concerne l'utilisation du package waveslim. Je voudrais savoir comment on fait pour revenir a un signal d'origine lorsque l'on dispose de coefficients de detail et d'approximation. Guten Tag, ich schlage

[R] On the Use of the nnet Library

2003-08-20 Thread yukihiro ishii
Dear List, (B (BI am trying to solve a problem by the neural network method(library: (Bnnet). The problem is to express Weight in terms of Age , Sex and (BHeight for twenty people(thius is an example given by Tanake in (B"Introduction to Neural Networks by NEUROSIM/L"(2003, in Japanese))..

[R] On the Use of the nnet Library

2003-08-20 Thread yukihiro ishii
Dear List, (B (BI am trying to solve a problem by the neural network method(library: (Bnnet). The problem is to express Weight in terms of Age , Sex and (BHeight for twenty people(thius is an example given by Tanake in (B"Introduction to Neural Networks by NEUROSIM/L"(2003, in Japanese))..

RE: [R] RandomForest

2003-08-20 Thread Liaw, Andy
Please tell us the version of the package, the version of R, and the platform you're working in. Sounds like you should upgrade to a newer version of the randomForest package. In Breiman's original code, he is counting the number of misclassified cases and dividing that by the total number of

RE: [R] RandomForest

2003-08-20 Thread Vladimir N. Kutinsky
Andy, First of all, thank you for you reply. I'm using R1.6.1 for Windows. A few days ago I updated the randomForest package from CRAN. It gives warning messages now that the package was built under R1.6.2 but seems to work fine. To make sure we're talking about the same thing, let's take iris

[R] grid Graphics by Paul Murrell

2003-08-20 Thread Simon Woodhead
Dear All, I've been trying to format a plot output using par() with mfrow, fin, mai, etc and basically it's proving to be a pain. I searched on google and found that Paul Murrell had written a grid Graphics program which seems perfect. However, when I try and use say viewport() I just get a

Re: [R] question about simulation.

2003-08-20 Thread Uwe Ligges
Lily wrote: I am running a 1000 simulations, it works for 2 simulations. However, I get the following error message whenever I run it more than 3 times: The instruction at '0*11044080' referenced memory at o*3ff0. The memory could not be written. and, I can also get something like exception:

Re: [R] logistic regression without intercept

2003-08-20 Thread Peter Dalgaard BSA
Ross Boylan [EMAIL PROTECTED] writes: Thanks to Thomas Lumley, Spencer Graves, and Steve Sullivan for their advice on and off list to modify the formula with +0 (which I did; it worked) or -1 at the end. ... Also, I noticed that S-Plus but not R has a glim routine that uses maximum

Re: [R] question about simulation.

2003-08-20 Thread Lily
Thanks for your response.I am working on R-1.7.1 under windows. Here is part of my code for simulation: x1-... y1-... beta-c(1,3,5,7,9)) mn-0 for ( i in 1:3) { e1-rnorm(40,mean=0,sd=1) y1-x1%*%beta+e1 result-mle.cv(y1~x1) result2-result[1, ] mn-rbind(mn, result2) } mn Thanks!! --- Uwe

Re: [R] grid Graphics by Paul Murrell

2003-08-20 Thread Roger Bivand
On Wed, 20 Aug 2003, Simon Woodhead wrote: Dear All, I've been trying to format a plot output using par() with mfrow, fin, mai, etc and basically it's proving to be a pain. I searched on google and found that Paul Murrell had written a grid Graphics program which seems perfect. However,

RE: [R] RandomForest

2003-08-20 Thread Vladimir N. Kutinsky
Andy, Does it mean that the error rate does increase as long as the aggregating number of out-of-bag cases reaches the number of all cases? or, in other words, because the number of points being predicted (right or wrong) gets larger at the first steps of the process? If it so then it's all

Re: [R] logistic regression without intercept

2003-08-20 Thread Thomas Lumley
On Tue, 19 Aug 2003, Ross Boylan wrote: Also, I noticed that S-Plus but not R has a glim routine that uses maximum likelihood. What would be the equivalent? glm. I thought glm was a minimize the deviations approach, which is different from maximize likelihood. No, it's maximum

Re: [R] Plots default to Rplots.ps

2003-08-20 Thread Simon Woodhead
Martyn Plummer wrote: It looks like you have compiled R without support for X11, so the default plotting device is postscript(). You need to install the XFree86-devel package and recompile, or else use the ready made RPM packages on CRAN: http://cran.r-project.org/bin/linux/redhat/9/i386/ Martyn

RE: [R] grid Graphics by Paul Murrell

2003-08-20 Thread Hotz, T.
Simon, You might want to have a look at these two articles in R News (http://CRAN.R-project.org/doc/Rnews/): Paul Murrell. The grid graphics package. R News, 2(2):14-19, June 2002. Deepayan Sarkar. Lattice. R News, 2(2):19-23, June 2002. HTH Thomas -Original Message- From: Roger

RE: [R] RandomForest

2003-08-20 Thread Liaw, Andy
Vladimir, The OOB error rate estimates for the first few iterations is necessarily variable, as the number of cases that have been OOB (and therefore predicted) is relatively small. As an example: library(randomForest) data(iris) err1 - err2 - numeric(10) set.seed(1) for(i in 1:10) err1[i]

[R] delete variable

2003-08-20 Thread solares
Why in the codigo that continues when is erased the menubutton herself is not erased tambien the variable one opc, though itself deberia you erase with the assign? library(tcltk) vectPath-c() opc-tclVar(init= ) archivos-function(){ f-tkcmd(tk_getOpenFile)

Re: [R] Crash on Windows with package wle; was: Re: [R] questionabout simulation

2003-08-20 Thread Uwe Ligges
Lily wrote: Thanks for your response.I am working on R-1.7.1 under windows. Here is part of my code for simulation: x1-... y1-... beta-c(1,3,5,7,9)) mn-0 for ( i in 1:3) { e1-rnorm(40,mean=0,sd=1) y1-x1%*%beta+e1 result-mle.cv(y1~x1) result2-result[1, ] mn-rbind(mn, result2) } mn A *reproducible*

[R] Method of L-BFGS-B of optim evaluate function outside of boxconstraints

2003-08-20 Thread Shengqiao Li
Hi, R guys: I'm using L-BFGS-B method of optim for minimization problem. My function called besselI function which need non-negative parameter and the besselI will overflow if the parameter is too large. So I set the constraint box which is reasonable for my problem. But the point outside the

Re: [R] question about simulation.

2003-08-20 Thread Spencer Graves
What version of R under what operating system with how much memory? What R functions are you using? Can you do a traceback()? Also, have you tried www.r-project.org - search - R site search? hope this helps. spencer graves Lily wrote: I am running a 1000 simulations, it works for 2

Re: [R] Method of L-BFGS-B of optim evaluate function outside ofbox constraints

2003-08-20 Thread Spencer Graves
I see two problems, which I handle differently: First, if arg must be nonnegative, I program fn in terms of log.arg, so it can never become nonpositive. Second, is besselI always positive? If yes, then program fn to compute log(besselI) and use that. Standard references such as

Re: [R] question about simulation.

2003-08-20 Thread Lily
The problem has been solved. It is my mistake for not define the number of monte.carlo simulation when I am using mle.cv. Thank you all for your help! --- Spencer Graves [EMAIL PROTECTED] wrote: What version of R under what operating system with how much memory? What R functions are you

[R] import statgraphics data files

2003-08-20 Thread Tito de Morais Luis
Hi R listers, I have some *old* statgraphics data files (.asf extension) that I would like to re-analyse. I don't have the statgraphics software anymore. Does anybody know about an utility to convert such files to import them into R ? Thank you for any hint Tito -- L. Tito de Morais UR

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

2003-08-20 Thread elvis
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce May-June 2-day R/S-plus Fundamentals and Programming Techniques. Washington, DC - September 25-26 Boston, MA - September 25-26 San Francisco, CA -- September 18-19

[R] run R in non interactive mode

2003-08-20 Thread Junwen wang
Hi, there I want to run R in a non interactive mode, can I do that? say I have a script test.R, how can run it? thanks John __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] run R in non interactive mode

2003-08-20 Thread Douglas Bates
Junwen wang [EMAIL PROTECTED] writes: Hi, there I want to run R in a non interactive mode, can I do that? say I have a script test.R, how can run it? check ?BATCH __ [EMAIL PROTECTED] mailing list

[R] (no subject)

2003-08-20 Thread Martin Biuw
Hello, Is there a simple way to modify the circ.mean function in the CircStats package to include a vector of weights to obtain a weighted average angle? Thanks! Martin -- Martin Biuw Sea Mammal Research Unit Gatty Marine Laboratory, University of St Andrews St Andrews, Fife KY16 8PA Scotland

[R] SJava in R

2003-08-20 Thread Junwen wang
Hi, Did anyone sucessfully install SJava package to R and was able to call R function from java in redhat linux8.0? I tried several days it still give me error either in libR.so or libjvm.so. for example, I can compile JavaRCall.java(a example with the SJava package) without problem. When I run

[R] 4 parameter logistic model

2003-08-20 Thread array chip
Hi, I am trying to fit a 4-parameter logistic model to my gradient data using nls. I tried to specify the model directly in the nls formula and also tried to use the self-start function SSfpl. For the following data, the first method worked, but the second didn't. I thought both ways were

Re: [R] (no subject)

2003-08-20 Thread Duncan Murdoch
On Wed, 20 Aug 2003 19:37:59 +0100, Martin Biuw [EMAIL PROTECTED] wrote : Hello, Is there a simple way to modify the circ.mean function in the CircStats package to include a vector of weights to obtain a weighted average angle? This should do it: circ.weighted.mean - function (x,w) { sinr

[R] Interlacing two vectors

2003-08-20 Thread Murray Jorgensen
I want to interlace two vectors. This I can do: x - 1:4 z - x+0.5 as.vector(t(cbind(x,z))) [1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 but this seems rather inelegant. Any suggestions? Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics,

Re: [R] Interlacing two vectors

2003-08-20 Thread Peter Dalgaard BSA
Murray Jorgensen [EMAIL PROTECTED] writes: I want to interlace two vectors. This I can do: x - 1:4 z - x+0.5 as.vector(t(cbind(x,z))) [1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 but this seems rather inelegant. Any suggestions? Well, there's as.vector(rbind(x,z)) at least... I don't

Re: [R] Interlacing two vectors

2003-08-20 Thread Jerome Asselin
as.vector(rbind(x,z))or c(rbind(x,y)) saves you one step. Don't know if there's a better solution. HTH, Jerome On August 20, 2003 02:16 pm, Murray Jorgensen wrote: I want to interlace two vectors. This I can do: x - 1:4 z - x+0.5 as.vector(t(cbind(x,z))) [1] 1.0 1.5 2.0 2.5

[R] R is mentioned on Linux Today

2003-08-20 Thread Berwin Turlach
Hi all, people who don't follow Linux Today regularly may want to check out: http://linuxtoday.com/developer/2003082000626OSSVDV My apologies if this is considered spam. Cheers, Berwin == Full address Berwin A Turlach

[R] Diamond graphs

2003-08-20 Thread Richard A. O'Keefe
I apologise for starting a new thread, but we had a mail problem and I don't have the original message to refer to. Someone mentioned the new Diamond Graphs invented at Johns Hopkins. I haven't see the August 2003 issue of The American Statistician yet, but I _have_ read the press release. The