[R] what is fuzzy matching?

2003-07-18 Thread dg gdf
hello. I am a student that work on R. I need to some data frames such as dolphins,kiwishade,cabbages,beams,... . I typed 'help.seaech(dolphins)' but the response was No help files found with alias or title matching 'dolphins' using fuzzy matching.. what is fuzzy matching and how can I find these

Re: [R] how to divide a string into characters? - for comparingstrings that is

2003-07-18 Thread David Andel
Cool, thanks a lot! On Thu, 17 Jul 2003, John Fox wrote: Dear David At 12:07 AM 7/18/2003 +0200, David Andel wrote: I am searching for a way to do something like ABC - c(A,B,C). How can this be accomplished? I tried cut() and split(), but they do something else, it seems. The purpose

Re: [R] Minor nuisance with rw1071

2003-07-18 Thread Prof Brian Ripley
I believe it's a side effect of starting up tcltk. That grabs focus for its invisible window: there's a kludgy workaround in the tcltk startup code, but that it looks like that is not working during the startup (which here seems to be something in .RData). On Thu, 17 Jul 2003, John Fox wrote:

Re[2]: [R] C compiler to R

2003-07-18 Thread Ruud H. Koning
I posted a similar question some time ago, and got the answer below. Ruud *** REPLY SEPARATOR *** On 7/17/2003 at 5:22 Barry Rowlingson wrote: Carlos J. Gil Bellosta wrote: Correct but possibly not sufficiently precise (where's Brian Ripley when we need him?). On Sun,

Re: [R] How to install a package

2003-07-18 Thread Prof Brian Ripley
On Sun, 13 Jul 2003, Duncan Murdoch wrote: On Sun, 13 Jul 2003 15:38:54 -0600, you wrote: My platform: R 1.7.0 + windows2000. I am trying to install the package lasso2 which I saw in the following web address: http://cran.us.r-project.org/src/contrib/PACKAGES.html#emplik. However, I

Re: [R] How to read in data

2003-07-18 Thread Anne Piotet
Thanks! yes it WORKS Anne - Original Message - From: Mathieu Ros [EMAIL PROTECTED] To: Anne Piotet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 4:58 PM Subject: Re: [R] How to read in data AP == Anne Piotet [EMAIL PROTECTED] disait: AP Hello, I'm new to R

[R] stepwise regression analysis

2003-07-18 Thread wouter buytaert
Hello, is there a function in R to do stepwise regression analysis (e.g. for backward elimination)? thanks, Wouter __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] stepwise regression analysis

2003-07-18 Thread Winfried Theis
Hello! On Fri, 2003-07-18 at 10:44, wouter buytaert wrote: Hello, is there a function in R to do stepwise regression analysis (e.g. for backward elimination)? Try ?step and look at the options there. Cheers, Winfried thanks, Wouter __

Re: [R] eigen vector sign reversal

2003-07-18 Thread Prof Brian Ripley
On Tue, 15 Jul 2003, Roger D. Peng wrote: I think at version 1.7.0 R started using LAPACK for its eigen/svd routines. I think using `eigen(x, EISPACK = TRUE)' uses the previous version. That is true, but using different compilers on the same machine and the same version of R may give

(Fwd) Re: [R] what is fuzzy matching?

2003-07-18 Thread Petr Pikal
Try Google I presume these are datasets used in J.Maindonald's Using R... Introduction text. On 17 Jul 2003 at 23:29, dg gdf wrote: hello. I am a student that work on R. I need to some data frames such as dolphins,kiwishade,cabbages,beams,... . I typed 'help.seaech(dolphins)' but the

[R] R won't connect to the internet

2003-07-18 Thread michael watson (IAH-C)
Hi I can't get R to connect to the internet. I am running R 1.7.1 on Windows XP and whenever I try to download packages etc from within R using the internet, it fails. OK so I am behind a firewall and use a proxy server SO, if I go to my MS-DOS prompt and type: RGui.exe

Re: [R] R won't connect to the internet

2003-07-18 Thread Prof Brian Ripley
On Fri, 18 Jul 2003, michael watson (IAH-C) wrote: I can't get R to connect to the internet. I am running R 1.7.1 on Windows XP and whenever I try to download packages etc from within R using the internet, it fails. OK so I am behind a firewall and use a proxy server SO, if I go to

Re: [R] predict

2003-07-18 Thread Prof Brian Ripley
It uses the appropriate method for the generic function predict(). In your case it is predict.ar(), and you can examine it by getS3method(predict, ar) On Tue, 15 Jul 2003, ATHANASIA KAMARIOTIS wrote: Can you please tell me how R computes : predict(ar.x)$pred in : #let x be a vector

[R] Harmonic mean center of animal locations

2003-07-18 Thread Tomas Willebrand
Hello list; I am working with a dataset containing animal locations over time for a large number of individuals. I would like to compute a center of activity by finding the minimum harmonic mean on a grid overlaying the points of an animal (a standard to express center of activity in animal

summary: [R] numerical differentiation in R? (for optim SANNparscale)

2003-07-18 Thread BORGULYA Gábor
Dear Wayne Jones, Ravi Varadhan, Roger D. Peng and Jerome Asselin, Thank you for the helpful answers! I summarise them below and add my experiences: The numerical differentiation - Check out ?fdHess and run the example! This was the solution. help(fdHess,

[R] repeated measures anova

2003-07-18 Thread wouter buytaert
Hello, what is the best way to do an ANOVA on two-factor experiments with repeated measures on one of the factors (e.g. time) in R, (with Greenhouse-Geisser Epsilon or Huynh-Feldt Epsilon calculation, if possible (as described in Ott and Longnecker, 2001. Statistical Methods and Data Analysis 5th

RE: [R] R won't connect to the internet

2003-07-18 Thread Marsland, John
I also have used R1.7.1 behind a proxy server. I've not used the --internet2 flag - I've not found that necessary. Simply set up an environment variable in you control panel system properties called http_proxy and set it value to something like http://100.100.100.100:8080/;. Everything should

RE: [R] R won't connect to the internet

2003-07-18 Thread Marsland, John
I have had a play with the --internet2 flag under windows NT and XP if you set the target on your shortcut to: C:\Program Files\R\rw1071\bin\Rgui.exe --internet2 it should work. I think your problem is to do with the placement of the quote marks - it's a wonderfully horrible idea to be able to

RE: [R] repeated measures anova

2003-07-18 Thread Pikounis, Bill
Wouter, what is the best way to do an ANOVA on two-factor experiments with repeated measures on one of the factors (e.g. time) in R, (with Greenhouse-Geisser Epsilon or Huynh-Feldt Epsilon calculation, if You could use aov() with an Error term on your subjects factor; this follows the

RE: [R] line colors in lattice.xyplot with png device.

2003-07-18 Thread Federico Calboli
for the background try: # open a trellis device. If not open the next step will not work trellis.device(device=windows) #x11 in linux # set background to white. Only works on an open trellis device background-trellis.par.get(background) background$col-white

RE: [R] How to install a package

2003-07-18 Thread Liaw, Andy
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] On Sun, 13 Jul 2003, Duncan Murdoch wrote: On Sun, 13 Jul 2003 15:38:54 -0600, you wrote: My platform: R 1.7.0 + windows2000. I am trying to install the package lasso2 which I saw in the following web address:

[R] Hidden Markov estimation

2003-07-18 Thread J . Illian
Dear all, is there a package in R that can be used to estimate the parameters in a Hidden markov Model? Thanks Janine -- Janine Illian lecturer in statistics SIMBIOS School of Computing and Advanced Technologies University of Abertay Dundee Bell Street

[R] rterm

2003-07-18 Thread Manuel Lopez Coello
I would like to use Rterm but i don`t know its parameters. I have searched about this issue but i haven´t found anything. thank you. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] rterm

2003-07-18 Thread Prof Brian D Ripley
Well, there's a file README.rterm in the top-level (binary) installation directory, and the section `Invoking R under Windows' in `An Introduction to R' applies equally to RGui and Rterm. All the information is in one of those two places. On Fri, 18 Jul 2003, Manuel Lopez Coello wrote: I

Re: [R] Hidden Markov estimation

2003-07-18 Thread Jim Lindsey
Dear all, is there a package in R that can be used to estimate the parameters in a Hidden markov Model? You might try my functions hidden (discrete time), chidden (continuous time), and cphidden (find a change-point) functions in my repeated library at www.luc.ac.be/~jlindsey/rcode.html

[R] Base package R Macintosh port

2003-07-18 Thread Hector L. Ayala-del-Rio
Hi everybody I was trying the R binary (1.7.0) for Macintosh (Carbon) and I tried to install some packages using install.packages and apparently this function was not implemented. I reloaded the base library since the update.packages function should be on it but did not work. Also I tried

Re: [R] Minor nuisance with rw1071

2003-07-18 Thread John Fox
Dear Brian, At 08:32 AM 7/18/2003 +0100, Prof Brian Ripley wrote: I believe it's a side effect of starting up tcltk. That grabs focus for its invisible window: there's a kludgy workaround in the tcltk startup code, but that it looks like that is not working during the startup (which here seems

RE: [R] line colors in lattice.xyplot with png device.

2003-07-18 Thread Marc Mamin
here is the solution: col-c(#cc, #330099, #66cc00,#ff6600 ,#ff00cc, #0, #bo7080, #7080bo) lty-c(1,1,1,1,1,1,1,1) lwd-c(1,1,1,1,1,1,1,1) mylines-list(col=col,lty=lty,lwd=lwd) filename- c:\\temp\\test.png trellis.device(png,filename = filename, width = 940, height = 600, pointsize = 10,

Re: [R] what is fuzzy matching?

2003-07-18 Thread Douglas Bates
dg gdf [EMAIL PROTECTED] writes: I am a student that work on R. I need to some data frames such as dolphins,kiwishade,cabbages,beams,... . I typed 'help.search(dolphins)' but the response was No help files found with alias or title matching 'dolphins' using fuzzy matching.. what is

Re: [R] Base package R Macintosh port

2003-07-18 Thread Thomas Lumley
On Fri, 18 Jul 2003, Hector L. Ayala-del-Rio wrote: Hi everybody I was trying the R binary (1.7.0) for Macintosh (Carbon) and I tried to install some packages using install.packages and apparently this function was not implemented. I reloaded the base library since the update.packages

[R] Non-Linear Principle Component Analysis using Neural Networks

2003-07-18 Thread Paul Della-Marta
Dear R-help, I am a new member of the R-help mailing list and would like to know if anyone has used R to perform a Non-linear PCA using a multiple layer feed forward neural networks? Could I modify the function nnet to contain multiple hidden layers? Kind Regards, Paul

[R] Problem indexing into array

2003-07-18 Thread Ted Harding
Hi Folks, Can anyone give me the tip I've been groping for with the following question:? mu: kx2x2x2 array of reals corresponding to means of k RVs at the combinations of values (1,2)x(1,2)x(1,2) of dichotomous variables F1,F2,F3 mu prints out as k rows (one for each

Re: [R] stepwise regression analysis

2003-07-18 Thread Spencer Graves
Or stepAIC in the MASS library. If you are adventurouos, you can experiment with the poorly debugged stepAIC.c downloadable from www.prodsyse.com. spencer graves Winfried Theis wrote: Hello! On Fri, 2003-07-18 at 10:44, wouter buytaert wrote: Hello, is there a function in R to do stepwise

SV: [R] dbApply and data.frame

2003-07-18 Thread jesper Runge Madsen
-Oprindelig meddelelse- Fra: Peter Dalgaard BSA [mailto:[EMAIL PROTECTED] Sendt: 17. juli 2003 23:32 Til: Thomas W Blackwell Cc: Jesper Runge Madsen; 'r-help' Emne: Re: [R] dbApply and data.frame I.e. R is not *supposed* to crash, so either there is a platform dependency or (more

[R] Probability plotting with R

2003-07-18 Thread A. Gunes Koru
Hello, Our professor asked us to do probability plotting using weibull paper, exponential paper, normal, log-normal paper, etc. I know I can create Q-Q plot for normal dist. and see if all te points are on one line. How do I go about other distributions? I tried generating different samples and

Re: [R] Non-Linear Principle Component Analysis using Neural Networks

2003-07-18 Thread Prof Brian Ripley
On Fri, 18 Jul 2003, Paul Della-Marta wrote: I am a new member of the R-help mailing list and would like to know if anyone has used R to perform a Non-linear PCA using a multiple layer feed forward neural networks? Could I modify the function nnet to contain multiple hidden layers?

[R] unz()

2003-07-18 Thread Marsland, John
I am having some problems with unz() under R 1.7.1 using windows NT 4.0 download.file(url=http://www.test.com/test.zip;, destfile=c:/temp/test.zip, mode=wb) z - unz(c:/temp/test.zip, home/test.txt, open=r) test - read.table(z,sep=;,skip=1,header=T,as.is=T) close(z) this code seems temperamental

Re: [R] Problem indexing into array

2003-07-18 Thread Ted Harding
Hi Folks, Can anyone give me the tip I've been groping for with the following question:? mu: kx2x2x2 array of reals corresponding to means of k RVs at the combinations of values (1,2)x(1,2)x(1,2) of dichotomous variables F1,F2,F3 mu prints out as k rows (one

[R] confused about x-coordinates and bar charts

2003-07-18 Thread Jay Pfaffman
Thanks for all the help on my previous histogram problem. I intend to summarize the solutions back to the list Real Soon Now, but first, I've got another problem. I've made a bar chart that reports means. I'd like to put the number of observations on top of each bar. Here's what I've got:

[R] question about formulating a nls optimization

2003-07-18 Thread Adi Humbert
Dear list, I'm migrating a project from Matlab to R, and I'm facing a relatively complicated problem for nls. My objective function is below: objFun - function(yEx,xEx,tEx,gamma,theta,kappa){ yTh - pdfDY(xEx,tEx,gamma,theta,kappa) sum(log(yEx/yTh)^2) } The equation is

[R] Re: Positioning legends outside the plot region

2003-07-18 Thread Marco Albani
Marco Albani wrote: The part I am not happy with is the setting of the y coordinates for the legend. Is there a good way to tie it in with the par(mar)[1] so that I know the legend is place below the title of the x axis of my plot? I answer my own question: ## Set xpd=TRUE, so all plotting is

Re: [R] question about formulating a nls optimization

2003-07-18 Thread Peter Dalgaard BSA
Adi Humbert [EMAIL PROTECTED] writes: Dear list, I'm migrating a project from Matlab to R, and I'm facing a relatively complicated problem for nls. My objective function is below: objFun - function(yEx,xEx,tEx,gamma,theta,kappa){ yTh - pdfDY(xEx,tEx,gamma,theta,kappa)

Re: [R] confused about x-coordinates and bar charts

2003-07-18 Thread Marc Schwartz
On Fri, 2003-07-18 at 13:41, Jay Pfaffman wrote: Thanks for all the help on my previous histogram problem. I intend to summarize the solutions back to the list Real Soon Now, but first, I've got another problem. I've made a bar chart that reports means. I'd like to put the number of

Re: [R] question about formulating a nls optimization

2003-07-18 Thread Douglas Bates
Adi Humbert [EMAIL PROTECTED] writes: I'm migrating a project from Matlab to R, and I'm facing a relatively complicated problem for nls. My objective function is below: objFun - function(yEx,xEx,tEx,gamma,theta,kappa){ yTh - pdfDY(xEx,tEx,gamma,theta,kappa) sum(log(yEx/yTh)^2)

[R] Tree question with ordinal IV and split labels

2003-07-18 Thread Peter Flom
Hi I have a tree, created in rpart. One of the IVs is an ordinal variable. I would like to get the splits labeled with the LEVELS of this factor, rather than a,b,c, and d. Is there a way to do this? Thanks in advance Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis

Re: [R] confused about x-coordinates and bar charts

2003-07-18 Thread Marc Schwartz
On Fri, 2003-07-18 at 14:12, Marc Schwartz wrote: On Fri, 2003-07-18 at 13:41, Jay Pfaffman wrote: Thanks for all the help on my previous histogram problem. I intend to summarize the solutions back to the list Real Soon Now, but first, I've got another problem. I've made a bar chart

RE: [R] Tree question with ordinal IV and split labels

2003-07-18 Thread Sung, Iyue
Use pretty option in text function: plot(mytree) text(mytree, pretty=0) -Original Message- From: Peter Flom [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 3:21 PM To: [EMAIL PROTECTED] Subject: [R] Tree question with ordinal IV and split labels Hi I have a tree,

[R] lexicographic sort of ordered lists

2003-07-18 Thread J. P. Morgan
Does anyone know how to execute the following sort problem in R? Matrix X has positive integer entries, and each column has been sorted in ascending order. The problem is now to order the columns lexicographically. For instance if the matrix X is 1 2 1 1 2 2 2 3 3 2 3 5 5 4 2 then the

[R] problem with memory size in UNIX

2003-07-18 Thread liping
Dear R/Biocondutor users: I tried to merge two big affybatch data sets in R (under unix mainframe) and encounter the problems as following: combine2.3-merge(combine2.1,TALL) Error: cannot allocate vector of size 409600 Kb I do not know what is the problem and how can i fix the problem. any

[R] create a vector looping over a frame

2003-07-18 Thread Siddique, Amer
Hello, I have a data.frame names(popA) [1] Year Series AgeWM WF HM HF BM [9] BF IM IF AM AF Yr how do i loop over a subset of variables in this frame to create a vector of length equal to the number of variables in the subset such that the

Re: [R] Problem indexing into array

2003-07-18 Thread Ted Harding
mu[M[,1:3]] should do what you want, I think. See chapter 1 of S Poetry. Patrick Burns Thanks Patrick (and honoured to hear from the author of S-Poetry!). This doesn't do what I want (I was probably not clear), though Tony Plate's reply looks promising if maybe cumbersome. (Thanks,

Re: [R] lexicographic sort of ordered lists

2003-07-18 Thread Duncan Murdoch
On Fri, 18 Jul 2003 15:56:31 -0400, J. P. Morgan [EMAIL PROTECTED] wrote : Does anyone know how to execute the following sort problem in R? Matrix X has positive integer entries, and each column has been sorted in ascending order. The problem is now to order the columns lexicographically. For

Re: [R] lexicographic sort of ordered lists

2003-07-18 Thread Spencer Graves
?order? J. P. Morgan wrote: Does anyone know how to execute the following sort problem in R? Matrix X has positive integer entries, and each column has been sorted in ascending order. The problem is now to order the columns lexicographically. For instance if the matrix X is 1 2 1 1 2 2 2 3 3

[R] Rserv.conf

2003-07-18 Thread Jin Ho Tan
Greetings, I have just installed R and Rserv on my W2k laptop for testing. I intend to use it for an upcoming project. The Rserv documentation states that the configuration file should be /etc/Rserv.conf. I have created such a file in R installation path\etc\RServ.conf but R doesn't seem to

RE: [R] create a vector looping over a frame

2003-07-18 Thread RBaskin
#just to have some data testdata-matrix(rnorm(14*7),ncol=14) testframe-as.data.frame.matrix(testdata) names(testframe)-c(Year,Series,Age,WM, WF,HM,HF,BM,BF,IM,IF,AM,AF,Yr) #one way is colSums colSums(testframe)[c(3,5,8,10)] Age WF BM IM 5.024714070

Re: [R] lexicographic sort of ordered lists

2003-07-18 Thread Peter Dalgaard BSA
J. P. Morgan [EMAIL PROTECTED] writes: Does anyone know how to execute the following sort problem in R? Matrix X has positive integer entries, and each column has been sorted in ascending order. The problem is now to order the columns lexicographically. For instance if the matrix X is

Re: [R] Problem indexing into array

2003-07-18 Thread Peter Dalgaard BSA
[Argh. Forgot to cc: the list again...] Ted Harding [EMAIL PROTECTED] writes: mu[M[,1:3]] should do what you want, I think. See chapter 1 of S Poetry. Patrick Burns Thanks Patrick (and honoured to hear from the author of S-Poetry!). This doesn't do what I want (I was probably

Re: [R] create a vector looping over a frame

2003-07-18 Thread Thomas W Blackwell
On Fri, 18 Jul 2003, Siddique, Amer wrote: I have a data.frame names(popA) [1] Year Series AgeWM WF HM HF BM [9] BF IM IF AM AF Yr how do i loop over a subset of variables in this frame to create a vector of length equal to the number of

Re: [R] Probability plotting with R

2003-07-18 Thread Duncan Murdoch
On Fri, 18 Jul 2003 08:50:01 -0700 (PDT), you wrote: On Fri, 18 Jul 2003, A. Gunes Koru wrote: Hello, Our professor asked us to do probability plotting using weibull paper, exponential paper, normal, log-normal paper, etc. I know I can create Q-Q plot for normal dist. and see if all te

[R] R program for MacOS9.2.2

2003-07-18 Thread Mark and Jenny
Having trouble with this program which I have just downloaded for R program for MacOS9.2.2. 1. The download file on the CRAN site had a ? on the file to be downloaded. Does this mean there is a problem with the file or does my computer have a problem reading it? 2. On opening 'R' Initially