Re: [R] ISOdate returns incorrect date?

2003-11-20 Thread Prof Brian Ripley
On 20 Nov 2003, Peter Dalgaard wrote: Patrick Connolly [EMAIL PROTECTED] writes: On Wed, 19-Nov-2003 at 05:03PM +, Prof Brian Ripley wrote: | For the record, ISOdate *is* giving the right answer, a POSIXct object. | | The problem is in printing, where there was a simple coding

[R] read.table(..)..Help?

2003-11-20 Thread forkusam
Hallo, can someone please help me. I have a proplem reading a file with more that one rows. e.g I used the function: p-read.table(file=FILENAME , header=TRUE,sep=;) and later used the data.Frame() function. It functions when the file has only a row of variables. When I insert the second row I

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread Prof Brian Ripley
On Wed, 19 Nov 2003, Nirmal Govind wrote: Thanks for your reply John. this works). Applied to a linear-model object, summary() produces coefficients, etc. (as mentioned), while anova() produces a (sequential) ANOVA table. This seems apparent to me from the output. What I'm having

Re: [R] file not found?

2003-11-20 Thread Uwe Ligges
Ray Brownrigg wrote: Thomas W Blackwell [EMAIL PROTECTED] wrote: I recall a message on the [r-pkgs] list from Ray Brownrigg on November 1 this year that may be relevant. At that time he was announcing the availability of maps_2.0-8.zip and some other packages. Therefore, 2.0-10 must be

[R] How to handle multiple thread using (D)COM server

2003-11-20 Thread WeiQiang . Li
Hi ALL, I am trying to produce ASP web reports using (D)COM server. The problem I am facing is (D)COM server cannot allow users accessing to R project concurrently, it need one by one to execute ASP.Same thing happened in VB application. I can not run two VB apps at same time. Does

Re: [R] maps package for Windows

2003-11-20 Thread Uwe Ligges
Rajiv Prasad wrote: Umm... no, does not work for me yet: local({a - CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)}) trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 13514

[R] netCDF, ncdf library

2003-11-20 Thread Laurent Marzec
Dear all, I would like to use data in .netcdf format and for those I have to use the netCDF or ncdf packages. Problem : these packages don't seem to work : Error in testRversion(descfields) : This package has not been installed properly See the Note in ?library (with netCDF

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread Nirmal Govind
Thanks for your reply, Prof. Ripley. And all of that is explained in the reference on the aov help page. Please do stop speculating and start reading. Well, the reason for speculation was cos I couldn't find any details on that help page... thanks for letting me know that the reference explains

Re: [R] read.table(..)..Help?

2003-11-20 Thread Ko-Kang Kevin Wang
On Thu, 20 Nov 2003, forkusam wrote: Hi; Thanks for the quick reply. I am presently not sittinh infront of my computer so I can't tell you the exact error message but. I have read through the documentation and have found nothing of help. Yes. the columns are separated by semicolons

RE: [R] ISOdate returns incorrect date?

2003-11-20 Thread Simon Fear
I've been using the following little `helper` function: tea - function() { shell(C:\\program files\\kettle\\tea.exe /2sugars, wait=FALSE) } I was thinking of submitting it to CRAN until I discovered that when I ran it on my laptop on holiday in Italy, it made coffee! I reluctantly decided not

Re: [R] netCDF, ncdf library

2003-11-20 Thread Prof Brian Ripley
Where did you get these from? You need to compile them from source or get versions from my site (not CRAN): the latter work for me. On Thu, 20 Nov 2003, Laurent Marzec wrote: I would like to use data in .netcdf format and for those I have to use the netCDF or ncdf packages. Problem

Re: [R] netCDF, ncdf library

2003-11-20 Thread Uwe Ligges
Laurent Marzec wrote: Dear all, I would like to use data in .netcdf format and for those I have to use the netCDF or ncdf packages. Problem : these packages don't seem to work : Error in testRversion(descfields) : This package has not been installed properly See the Note in

Re: [R] read.table(..)..Help?

2003-11-20 Thread Philipp Pagel
On Wed, Nov 19, 2003 at 11:11:27PM -0800, forkusam wrote: p-read.table(file=FILENAME , header=TRUE,sep=;) and later used the data.Frame() function. It functions when the file has only a row of variables. It is not at all clear to me what you are doing and what is going wrong. Please provide

[R] Find value in vector (or matrix)

2003-11-20 Thread Pascal A. Niklaus
Hi all, Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y - c(a,b,c) if(a in y) { # a is not in y } Also, is

Re: [R] Find value in vector (or matrix)

2003-11-20 Thread Prof Brian Ripley
On Thu, 20 Nov 2003, Pascal A. Niklaus wrote: Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y - c(a,b,c) if(a in

Re: [R] Find value in vector (or matrix)

2003-11-20 Thread Sundar Dorai-Raj
Pascal A. Niklaus wrote: Hi all, Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y - c(a,b,c) if(a in y) { # a

Re: [R] Find value in vector (or matrix)

2003-11-20 Thread Barry Rowlingson
Pascal A. Niklaus wrote: y - c(a,b,c) if(a in y) { # a is not in y } You are 98% of the way there. The missing two percent is this: if(a %in% y) { ... } you could also use the 'any' function: if(any(y==a)){ ... } Also, is there a way to generate character sequences

Re: [R] Find value in vector (or matrix)

2003-11-20 Thread Peter Dalgaard
Pascal A. Niklaus [EMAIL PROTECTED] writes: Hi all, Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y - c(a,b,c)

[R] Increment element of vector and efficiency

2003-11-20 Thread Pascal A. Niklaus
Hi all, Thanks for the incredibly quick help with the %in%... There's a second question, though: I'd like to increment an element of a vector if a certain event occurs, e.g. count[event] - count[event] + 1; # works, but... Is this efficient? I wonder whether R needs to subset the

[R] RMySQL for Windows

2003-11-20 Thread Arend P. van der Veen
Hi all, I have been reviewing previous messages about installing RMySQL under windows. My configuration is WinXP, MySQL 4.0.14-max-debug and R 1.8.0. I have been able install RMySQL. However, I do have a question: When I type library(RMySQL) I get the following: Warning message:

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread John Fox
Dear Nirmal, At 03:20 AM 11/20/2003 -0500, Nirmal Govind wrote: Thanks for your reply, Prof. Ripley. And all of that is explained in the reference on the aov help page. Please do stop speculating and start reading. Well, the reason for speculation was cos I couldn't find any details on that

Re: [R] Increment element of vector and efficiency

2003-11-20 Thread Roger D. Peng
I think that's about as efficient as you can get. I'm not sure of the underlying details. There was some discussion recently of having the equivalent of a += operator but currently R has no such thing. -roger Pascal A. Niklaus wrote: Hi all, Thanks for the incredibly quick help with the

[R] Compile Packages under Windows and CHM

2003-11-20 Thread Arend P. van der Veen
Hi, I have been developing a small package. It install under RedHat Linux 9.0 without a problem. However, I have a small problem under Windows XP. I am using R-1.8.0 on both systems and HTML Help Workshop 4.74.8702.0 on Windows XP. I created the package under Linux. When I try to install the

[R] nls, nlrq, and box-cox transformation

2003-11-20 Thread Johannes Ludsteck
Dear r-help members I posted this message already yesterday, but don't know whether it reached you since I joined the group only yesterday. I would like to estimate the boxcox transformed model (y^t - 1)/t ~ b0 + b1 * x. Unfortunately, R returns with an error message when I try to perform this

Re: [R] Increment element of vector and efficiency

2003-11-20 Thread Marc Schwartz
On Thu, 2003-11-20 at 07:43, Pascal A. Niklaus wrote: Hi all, Thanks for the incredibly quick help with the %in%... There's a second question, though: I'd like to increment an element of a vector if a certain event occurs, e.g. count[event] - count[event] + 1; # works,

[R] Re: nlrq problem

2003-11-20 Thread Roger Koenker
Johannes, You can minimize an model expression by just putting the ~ on the left and everything else on the righthand side, but I don't think that this is really what you want. In the NLS expression this would ignore the jacobian of the transformation from errors to response, and in nlrq there

RE: [R] nls, nlrq, and box-cox transformation

2003-11-20 Thread Philippe Grosjean
Dear r-help members I posted this message already yesterday, but don't know whether it reached you since I joined the group only yesterday. I would like to estimate the boxcox transformed model (y^t - 1)/t ~ b0 + b1 * x. Unfortunately, R returns with an error message when I try to perform this

[R] How to adjust the Intercept correctly when using ols() and validate().

2003-11-20 Thread Wolfgang_Lederer
Dear R-Help-List, i am using the ols() function to fit a model and use the validate() function to obtain the shrinking constant for the slope. But how can i get the

Re: [R] Compile Packages under Windows and CHM

2003-11-20 Thread Uwe Ligges
Arend P. van der Veen wrote: Hi, I have been developing a small package. It install under RedHat Linux 9.0 without a problem. However, I have a small problem under Windows XP. I am using R-1.8.0 on both systems and HTML Help Workshop 4.74.8702.0 on Windows XP. I created the package under

RE: [R] nls, nlrq, and box-cox transformation

2003-11-20 Thread Prof Brian Ripley
On Thu, 20 Nov 2003, Philippe Grosjean wrote: Dear r-help members I posted this message already yesterday, but don't know whether it reached you since I joined the group only yesterday. I would like to estimate the boxcox transformed model (y^t - 1)/t ~ b0 + b1 * x. Unfortunately, R

Re: [R] Compile Packages under Windows and CHM

2003-11-20 Thread Arend P. van der Veen
Adding hhc.exe to my path did the trick. I saw hhc and assumed that was associated with the contents file and not the HTML Help Workshop. Thanks again, Arend van der Veen On Thu, 2003-11-20 at 09:38, Uwe Ligges wrote: Arend P. van der Veen wrote: Hi, I have been developing a small

Re: [R] RMySQL for Windows

2003-11-20 Thread Duncan Murdoch
On 20 Nov 2003 08:50:00 -0500, Arend P. van der Veen [EMAIL PROTECTED] wrote : Hi all, I have been reviewing previous messages about installing RMySQL under windows. My configuration is WinXP, MySQL 4.0.14-max-debug and R 1.8.0. I have been able install RMySQL. However, I do have a question:

RE: [R] conf int mixed effects

2003-11-20 Thread Harold Doran
I am very curious about this. If a particular growth model is specified to reflect repeated observations on individual i in unit j, such as: y_{tij} = [B_{00} + B_{01}*(TIME)]+[u_{00}+u_{01}*(TIME)+ e_{tij}] where Bs are the fixed effects and the u's are the random effects. The growth of

Re: [R] Increment element of vector and efficiency

2003-11-20 Thread Duncan Murdoch
On Thu, 20 Nov 2003 08:10:38 -0600, Marc Schwartz [EMAIL PROTECTED] wrote : There is no increment operator in R. However, it would not be difficult to create a function to increment a value: increment - function(x) { eval.parent(substitute(x - x + 1)) } x - c(2, 5, 3, 8) increment(x[3]) x

Re: [R] Increment element of vector and efficiency

2003-11-20 Thread Marc Schwartz
On Thu, 2003-11-20 at 09:39, Duncan Murdoch wrote: On Thu, 20 Nov 2003 08:10:38 -0600, Marc Schwartz [EMAIL PROTECTED] wrote : There is no increment operator in R. However, it would not be difficult to create a function to increment a value: increment - function(x) {

[R] RMySQL_5.2 SuSE9.0

2003-11-20 Thread Christian Schulz
Hi, i try to install, but getting no success. What this mean cannot find -lz , any necessary lib left in my SuSE Installation? Many thanks, Christian linux:/usr/lib/R/bin # R CMD INSTALL RMySQL_0.5-2.tar.gz * Installing *source* package 'RMySQL' ... creating cache ./config.cache checking how

RE: [R] nls, nlrq, and box-cox transformation

2003-11-20 Thread Roger Koenker
On Thu, 20 Nov 2003, Prof Brian Ripley wrote: Now nlrq uses a different criterion and Philippe's suggestion may work there. I can't tell quickly: the help page does not say what the criterion is. But if those are the same, then I suspect the criterion is uninteresting as a way to

[R] p value in MANOVA

2003-11-20 Thread Tu Yu-Kang
Dear R users, Can anyone tell me how to get the p value out of the output from summary.manova? I tried all the methods I can think of, but failed. Many thanks Yu-Kang _ MSN Mobile MSN Hotmail http://msn.com.tw/msnmobile

Re: [R] RMySQL_5.2 SuSE9.0

2003-11-20 Thread Marlene Mueller
My guess is that gcc cannot find libz, which most likely means that you do not have installed the development version of it. Search for libz or zlib in yast2. Hope that helps, Marlene Christian Schulz wrote: Hi, i try to install, but getting no success. What this mean cannot find -lz , any

[R] ts format for daily time serie

2003-11-20 Thread Kenneth Cabrera
Hi R-users: How can I format a daily time serie with ts function so the plot of the time shows the date right (dd/mm/yy) or yy. ? Excerp of the database: FECHA TRM 101/01/2000 1873.77 202/01/2000 1873.77 303/01/2000 1873.77 404/01/2000 1874.35 505/01/2000

Re: [R] ts format for daily time serie

2003-11-20 Thread Achim Zeileis
On Thursday 20 November 2003 19:06, Kenneth Cabrera wrote: Hi R-users: How can I format a daily time serie with ts function so the plot of the time shows the date right (dd/mm/yy) or yy. ? ts() only allows regulary spaced time series. Try the package its or the irts() function in

[R] reading data rows

2003-11-20 Thread forkusam
I have problems reading a file with more than one row to carry out mathematical calculations I have a a file of the form mu1 mu2 alpha betaWsigma sigmaA b r 25 15 .05 .05 22 3.3.5 30 20 .1 .2 22 .3.3.5

Re: [R] p value in MANOVA

2003-11-20 Thread Prof Brian Ripley
Hint: print.summary.manova manages it. Try example(summary.manova) summary(fit, test=Wilks)$stats[,Pr(F)] On Thu, 20 Nov 2003, Tu Yu-Kang wrote: Can anyone tell me how to get the p value out of the output from summary.manova? I tried all the methods I can think of, but failed. --

Re: [R] ts format for daily time serie

2003-11-20 Thread Prof Brian Ripley
It's probably best to handle this an an x-y plot (?plot.POSIXct) or as an irregular time series (see package its on CRAN). The ts function is designed for time series that you want to do time-series analysis on. On Thu, 20 Nov 2003, Kenneth Cabrera wrote: Hi R-users: How can I format a

Re: [R] ts format for daily time serie

2003-11-20 Thread Kenneth Cabrera
Prof Brian Ripley [EMAIL PROTECTED] wrote: It's probably best to handle this an an x-y plot (?plot.POSIXct) or as an irregular time series (see package its on CRAN). A daily time serie is not a regulary spaced time serie? The ts function is designed for time series that you want to do time-series

Re: [R] Reading JPG files within R

2003-11-20 Thread Roger Bivand
On Thu, 6 Nov 2003, Paolo Sirabella wrote: Dear R-listers, I am an enthusiastic new to R and have the following simple (. I hope .) problem: I am searching a function that allows to import jpg files as matrices (n x m x 3) i.e. n_pixels x m_pixels x 3_colors. I have seen the pixmap library,

Re: [R] ts format for daily time serie

2003-11-20 Thread Achim Zeileis
On Thursday 20 November 2003 19:53, Kenneth Cabrera wrote: Prof Brian Ripley [EMAIL PROTECTED] wrote: It's probably best to handle this an an x-y plot (?plot.POSIXct) or as an irregular time series (see package its on CRAN). A daily time serie is not a regulary spaced time serie? The ts

Re: [R] reading data rows

2003-11-20 Thread Ko-Kang Kevin Wang
Hi, On Thu, 20 Nov 2003, forkusam wrote: to carry out mathematical calculations I have a a file of the form mu1 mu2 alpha betaWsigma sigmaA b r 2515 .05 .05 22 3.3.5 3020 .1 .2 22 .3.3.5 I intend

[R] TISEAN and nonlinear time series

2003-11-20 Thread Ravi Varadhan
Hi: Has anyone linked TISEAN, which is a nonlinear time series analysis package developed by Schreiber et al., with R? If not, are there similar tools based on the phase-space representation of an observed time series? thanks, Ravi. __ [EMAIL

[R] Problem with Trellis graphics in nlme

2003-11-20 Thread anthony staines
Hi, I would be grateful for help with a problem which is irritating me. I am quite sure that I am doing something stupid, but I can't see what it is. I am running R 1.7 on Windows 2000. The graphics device is the PC screen. The graphics from the nlme demonstration in Bates an Pinheiro's manual

Re: [R] Problem with Trellis graphics in nlme

2003-11-20 Thread Spencer Graves
I see you mentioned the Bates and Pinhiero manual, but I didn't see Bates and Pinhiero (2000) Mixed-Effects Models in S and S-Plus (Springer). Have you also looked at this? hope this helps. spencer graves anthony staines wrote: Hi, I would be grateful for help with a problem which is

Re: [R] reading data rows

2003-11-20 Thread Philipp Pagel
On Thu, Nov 20, 2003 at 10:21:49AM -0800, forkusam wrote: I have problems reading a file with more than one row to carry out mathematical calculations I have a a file of the form mu1 mu2 alpha betaWsigma sigmaA b r 2515 .05 .05 22 3.3.5

[R] acf with NA?

2003-11-20 Thread Natalia BAHAMONDE
Hello I’m a PhD student and I’m working with covariance function. I’m interested to know how R to work the acf function with missing values. I like to know what is exactly the estimation process in this case and where I can to find the function .C(“acf”). Thanks, Natalia Bahamonde

Re: [R] acf with NA?

2003-11-20 Thread Prof Brian Ripley
It's in the source code, and that is on the same server you got R from. On Thu, 20 Nov 2003, Natalia BAHAMONDE wrote: I’m a PhD student and I’m working with covariance function. I’m interested to know how R to work the acf function with missing values. I like to know what is exactly the

[R] Fracpoly

2003-11-20 Thread Ercan971
How can I find the Fracpoly-Package? Thanks!! [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Fractional polynomials

2003-11-20 Thread Ercan971
How can I find Fracpoly-Package? Thanks!! [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] Fracpoly

2003-11-20 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: How can I find the Fracpoly-Package? Thanks!! I don't know of any fracpoly package in R. There is a set of S(-PLUS) functions called fracpoly on Statlib, though. Uwe Ligges __ [EMAIL PROTECTED] mailing list

[R] model tutorial

2003-11-20 Thread Paul Sorenson
The help and man pages of R discuss the model syntax eg a ~ b. They kind of just appear as if everyone knows why - I must be a bit of a mug. Are there any tutorial style documents around on this topic? cheers __ [EMAIL PROTECTED] mailing list

Re: [R] TISEAN and nonlinear time series

2003-11-20 Thread Uwe Ligges
Ravi Varadhan wrote: Hi: Has anyone linked TISEAN, which is a nonlinear time series analysis package developed by Schreiber et al., with R? If not, are there similar tools based on the phase-space representation of an observed time series? thanks, Ravi. AFAIK, TISEAN consists of

Re: [R] Problem with Trellis graphics in nlme

2003-11-20 Thread Thomas W Blackwell
Anthony - It seems just possible that the difficulty may have nothing to do with nlme() or any other data analysis. The graph you describe could result if one of the y-values was five time as large as any of the others. This could result from an error in reading the data input file, a missing

RE: [R] Fracpoly

2003-11-20 Thread Liaw, Andy
From: Uwe Ligges [mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I find the Fracpoly-Package? Thanks!! I don't know of any fracpoly package in R. There is a set of S(-PLUS) functions called fracpoly on Statlib, though. There used to be. I believe I posted a link to

RE: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread Liaw, Andy
From: Nirmal Govind [mailto:[EMAIL PROTECTED] Thanks for your reply, Prof. Ripley. And all of that is explained in the reference on the aov help page. Please do stop speculating and start reading. Well, the reason for speculation was cos I couldn't find any details on that help

Re: [R] Fracpoly

2003-11-20 Thread Achim Zeileis
On Thursday 20 November 2003 22:34, Uwe Ligges wrote: [EMAIL PROTECTED] wrote: How can I find the Fracpoly-Package? Thanks!! I don't know of any fracpoly package in R. There is a set of S(-PLUS) functions called fracpoly on Statlib, though. I don't know of a fracpoly package either, but

Re: [R] Fracpoly

2003-11-20 Thread Henric Nilsson
At 21:50 2003-11-20, you wrote: How can I find the Fracpoly-Package? I'm not aware of a Fracpoly-Package. But Gareth Ambler has written a collection of functions that can be downloaded from http://www.homepages.ucl.ac.uk/~ucakgam/r/index.htm //Henric

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread Nirmal Govind
textbooks or reference books. What you have not learned in a course can not be made up just by reading help pages. That's not the purpose of help pages. Very true.. in this specific case, however, the objective was to figure out how to reconcile the differences between two software packages and

Re: [R] Fracpoly

2003-11-20 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: From: Uwe Ligges [mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I find the Fracpoly-Package? Thanks!! I don't know of any fracpoly package in R. There is a set of S(-PLUS) functions called fracpoly on Statlib, though.

[R] incorporating R into C

2003-11-20 Thread Amir Soofi
I've become somewhat decent with R over the last month, and I feel confident that nothing online can help me with this question, and hence I'm putting it to this list, gratefully. Is it possible to call a R function, like nlm(), which is from the base package, in a C or C++ program? I've

RE: [R] nls, nlrq, and box-cox transformation

2003-11-20 Thread kjetil
On 20 Nov 2003 at 15:24, Philippe Grosjean wrote: Dear r-help members I posted this message already yesterday, but don't know whether it reached you since I joined the group only yesterday. I would like to estimate the boxcox transformed model (y^t - 1)/t ~ b0 + b1 * x. Unfortunately, R

Re: [R] ?for

2003-11-20 Thread Angel
I thought I was getting to grips with it, until last reply from Prof Brian Ripley's. At least in my Windows and Linux boxes ? paste(help) opens the help for help (!?) (But Marc is right, when you use emacs (in my Debian) instead of the shell it gives the error he says, anybody knows why?) For what

Re: [R] ?for

2003-11-20 Thread A.J. Rossini
Angel [EMAIL PROTECTED] writes: I thought I was getting to grips with it, until last reply from Prof Brian Ripley's. At least in my Windows and Linux boxes ? paste(help) opens the help for help (!?) (But Marc is right, when you use emacs (in my Debian) instead of the shell it gives the

Re: [R] ?for

2003-11-20 Thread Ray Brownrigg
I thought I was getting to grips with it, until last reply from Prof Brian Ripley's. At least in my Windows and Linux boxes Actually it was my reply that suggested ?paste(help) ? paste(help) opens the help for help (!?) Not on my systems! [Solaris, NetBSD, Windows 98]. I believe it should

[R] Who can provide me RWeb installation

2003-11-20 Thread WeiQiang . Li
Hi, RWeb web site is down past couple days, I am insterested in this project and want to try it for my projects. Deos anyone have this installation and user guide? Thanks! Best Regards, WeiQiang Li __ [EMAIL PROTECTED] mailing list

Re: [R] Who can provide me RWeb installation

2003-11-20 Thread WeiQiang . Li
Hi Tom, Thanks for your quick reply. What I am trying is to access RWeb which is a R project under R GUI and the address is shown as below: http://gauss.math.montana.edu/Rweb/Rweb.general.html http://gauss.math.montana.edu/Rweb/Resources.html Thanks Regards,

[R] speeding up a pairwise correlation calculation

2003-11-20 Thread Rajarshi Guha
Hi, I have a data.frame with 294 columns and 211 rows. I am calculating correlations between all pairs of columns (excluding column 1) and based on these correlation values I delete one column from any pair that shows a R^2 greater than a cuttoff value. (Rather than directly delete the column

Re: [R] speeding up a pairwise correlation calculation

2003-11-20 Thread Spencer Graves
Have you tried computing the correlation matrix using cor and then selecting variables to retain or drop from the resulting correlation matrix? R uses vectorized arithmetic for operations like cor. By comparison, for loops are quite inefficient, requiring extra overhead for memory

[R] software for Log Gaussian Cox processes and Short-Noise G Cox processes

2003-11-20 Thread Lawrence Kazembe
Is there an R package to implement the above spatial point processes. Lawrence Kazembe Lawrence Kazembe Chancellor College Mathematical Sciences Dept. PO Box 280, Zomba MALAWI. Tel: +265 1 526 391(O)/ 1 527 850 (H) Fax:+265 1 526 391 e-mail: [EMAIL PROTECTED]

[R] software for Log Gaussian Cox processes and Short-Noise G Cox processes

2003-11-20 Thread Lawrence Kazembe
Is there an R package to implement the above spatial point processes. Lawrence Kazembe Lawrence Kazembe Chancellor College Mathematical Sciences Dept. PO Box 280, Zomba MALAWI. Tel: +265 1 526 391(O)/ 1 527 850 (H) Fax:+265 1 526 391 e-mail: [EMAIL PROTECTED]

[R] using a logical vector as a mask?

2003-11-20 Thread Rajarshi Guha
Hi, say I have a vector: v - c(1,2,3,NA,5,6,NA,7) And I would like to set the elements that are NA to, say, 0 I can use is.na() to get a logical vector: ind - is.na(v) Is there a way in which I can use this logical vector to set the NA elements in v to 0? Thanks,

RE: [R] speeding up a pairwise correlation calculation

2003-11-20 Thread Adaikalavan RAMASAMY
You probably want to use runif() instead of rnorm() for equal probability of selecting between i,j Your algorithm is of order n^2 [ 294 choose 2, 293 choose 2, ... ], so it should not be too slow. But two for() loops are inefficient in R. Something like this should be fairly fast in C. What is

RE: [R] using a logical vector as a mask?

2003-11-20 Thread Manoj - Hachibushu Capital
v[is.na(v)]=0 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajarshi Guha Sent: Friday, November 21, 2003 2:38 PM To: R Subject: [R] using a logical vector as a mask? Hi, say I have a vector: v - c(1,2,3,NA,5,6,NA,7) And I would like to set the

Re: [R] Who can provide me RWeb installation

2003-11-20 Thread Jonathan Baron
On 11/21/03 11:00, [EMAIL PROTECTED] wrote: Hi, RWeb web site is down past couple days, I am insterested in this project and want to try it for my projects. Deos anyone have this installation and user guide? Thanks! I've put it in http://finzi.psych.upenn.edu/~baron/Rweb1.03.tar.gz This

Re: [R] model tutorial

2003-11-20 Thread Prof Brian Ripley
On Fri, 21 Nov 2003, Paul Sorenson wrote: The help and man pages of R discuss the model syntax eg a ~ b. They kind of just appear as if everyone knows why - I must be a bit of a mug. Are there any tutorial style documents around on this topic? `An Introdction to R', which ships with R. --

Re: [R] Who can provide me RWeb installation

2003-11-20 Thread WeiQiang . Li
Hi Jonathan, Thank you, I got it. I am trying now. Regards, WeiQiang Li Jonathan Baron