Re: [R] Is this mailing list available on/as a news group?

2007-11-10 Thread Prof Brian Ripley
On Sat, 10 Nov 2007, Martin Waller wrote: > I think the subject line says it all. Yes. And I suppose you would also like to know where? Google gives plenty of hints, and we see quite a few postings via nabble: look at http://www.nabble.com/R-help-f13820.html It is also on gmane.comp.lang.r.ge

Re: [R] reading csv files - SYLK : file format not valid

2007-11-10 Thread Bob Green
Deng, Spot on. This was the problem - now the file opens perfectly. Thanks. Bob __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] reading csv files - SYLK : file format not valid

2007-11-10 Thread YH DENG
Check your csv file if the first field is "ID". If so then change it to something else or change it to "id". Deng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Green Sent: Saturday, November 10, 2007 7:32 PM To: r-help@r-project.org Subject: [R] read

Re: [R] about R sna package source code

2007-11-10 Thread Gabor Grothendieck
Google for CRAN sna and the first hit gets you to it. Or from within R: library(sna) efficiency will list its code (but not its comments). On Nov 10, 2007 1:44 PM, Reiny Song <[EMAIL PROTECTED]> wrote: > Is anyone know some thing about sna package source code?? > > I have a question about sna

[R] reading csv files - SYLK : file format not valid

2007-11-10 Thread Bob Green
I am wanting to read EXCEL files into R. In the past I have saved EXCEL files as csv files without difficulty. Recently, when I have saved the files in this format I am then unable to open them again in EXCEL or though windows (XP). I receive a message stating - SYLK: file format not valid.

Re: [R] Is this mailing list available on/as a news group?

2007-11-10 Thread Gabor Grothendieck
Try: http://news.gmane.org/gmane.comp.lang.r.general http://www.nabble.com/R-f13819.html On Nov 10, 2007 2:56 PM, Martin Waller <[EMAIL PROTECTED]> wrote: > I think the subject line says it all. > > Martin __ R-help@r-project.org mailing list https://

Re: [R] Add another set of labels in a plot for X axis

2007-11-10 Thread Felipe
It worked perfectly. Thank you very much. ¡¡¡Erís un wn entero seco, loco!!! On Nov 10, 2007 8:41 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try this: > > axis(1, 1:22, paste(xaxislabels_1, xaxislabels_2, sep = "\n"), tcl = .3) > > On Nov 10, 2007 6:27 PM, Felipe <[EMAIL PROTECTED]> wro

[R] about R sna package source code

2007-11-10 Thread Reiny Song
Is anyone know some thing about sna package source code?? I have a question about sna source code, I need some functions in R sna package, so I check the source code. There is a function called efficiency in sna package, but I didn't find the any code about "efficiency", anyone know it? thank

Re: [R] Microsoft Live Search SOAP Requests using R

2007-11-10 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Konstantinos Since that Web service provides a WSDL file, then that it is the best thing to use to generate an R function for each of the methods the Web service exposes. See processWSDL and genSOAPClientInterface in the SSOAP package for some

[R] Is this mailing list available on/as a news group?

2007-11-10 Thread Martin Waller
I think the subject line says it all. Martin __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, r

Re: [R] Add another set of labels in a plot for X axis

2007-11-10 Thread Gabor Grothendieck
Try this: axis(1, 1:22, paste(xaxislabels_1, xaxislabels_2, sep = "\n"), tcl = .3) On Nov 10, 2007 6:27 PM, Felipe <[EMAIL PROTECTED]> wrote: > I have a protein sequence alignement and for each position of the > alignement, I want to plot two values (one per sequence). Alignements look > like thi

[R] Add another set of labels in a plot for X axis

2007-11-10 Thread Felipe
I have a protein sequence alignement and for each position of the alignement, I want to plot two values (one per sequence). Alignements look like this: MVAFKGVWTQAFWKAVTAEFL MCSISRKMAAEFI So, data for the plot would be something like this Prot 1 values: 1 5 2 7 4 3 5 6 8 2 2 7 6

Re: [R] polr() error message wrt optim() and vmmin

2007-11-10 Thread Prof Brian Ripley
On Sat, 10 Nov 2007, Anders Schwartz Corr wrote: > I'm getting an error message using polr(): > > Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) : > initial value in 'vmmin' is not finite > > The outcome variable is ordinal and factored, and the independant variabl

[R] polr() error message wrt optim() and vmmin

2007-11-10 Thread Anders Schwartz Corr
Hi, I'm getting an error message using polr(): Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) : initial value in 'vmmin' is not finite The outcome variable is ordinal and factored, and the independant variable is continuous. I've checked the source code for bo

[R] is there a useR group in atlanta?

2007-11-10 Thread Wensui Liu
Hi, all, since there are so many data companies in atlanta, I am wondering if there is a useR group there, especially around alpharetta. Thanks. -- === WenSui Liu Statistical Project Manager ChoicePoint Precision Marketing (http://spaces.msn.com/statcompute/blog)

Re: [R] Multivariate integration with infinite limits

2007-11-10 Thread Uwe Ligges
Thanks to all who corrected my misinformation! Uwe Ligges S Ellison wrote: > Ermmm... from ?integrate > "Description: > > Adaptive quadrature of functions of one variable over a finite or > infinite interval." > > R maps infinite intervals to a finite interval before numerical integ

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread Ted Harding
On 10-Nov-07 16:43:28, Ben Bolker wrote: > affy snp wrote: >> Hi Ted, >> My matrix looks like: >> >>> dim(CGH) >> [1] 238304243 >>> CGH[1:30,1:4] >> WM806SignalA WM1716SignalA WM1862SignalA WM1963SignalA >> SNP_A-1909444 1.59 1.48 1.78 2.59 >> S

Re: [R] Multivariate integration with infinite limits

2007-11-10 Thread S Ellison
Ermmm... from ?integrate "Description: Adaptive quadrature of functions of one variable over a finite or infinite interval." R maps infinite intervals to a finite interval before numerical integration, provided that you tell it that the limits are infinite. Using integrate() over mult

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread Ben Bolker
affy snp wrote: > > Hi Ted, > > My matrix looks like: > >> dim(CGH) > [1] 238304243 >> CGH[1:30,1:4] > WM806SignalA WM1716SignalA WM1862SignalA WM1963SignalA > SNP_A-1909444 1.59 1.48 1.78 2.59 > SNP_A-2237149 2.24 1.87

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread Paul Smith
On Nov 10, 2007 2:49 PM, affy snp <[EMAIL PROTECTED]> wrote: > My matrix looks like: > > > dim(CGH) > [1] 238304243 > > CGH[1:30,1:4] > WM806SignalA WM1716SignalA WM1862SignalA WM1963SignalA > SNP_A-1909444 1.59 1.48 1.78 2.59 > SNP_A-2237149

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread affy snp
Hi Ted, My matrix looks like: > dim(CGH) [1] 238304243 > CGH[1:30,1:4] WM806SignalA WM1716SignalA WM1862SignalA WM1963SignalA SNP_A-1909444 1.59 1.48 1.78 2.59 SNP_A-2237149 2.24 1.87 1.95 2.04 SNP_A-4303947

Re: [R] Confidence Intervals for Random Effect BLUP's

2007-11-10 Thread Douglas Bates
On Nov 9, 2007 1:15 PM, Rick Bilonick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-09 at 18:55 +, Prof Brian Ripley wrote: > > > I think Bert's point is important: I picked up a student on it in a case > > study presentation on this week because I could think of three > > interpretations, none

Re: [R] Multivariate integration with infinite limits

2007-11-10 Thread Prof Brian Ripley
On Sat, 10 Nov 2007, Uwe Ligges wrote: > > > Paul Smith wrote: >> Dear All, >> >> Can R perform multivariate integration with infinite limits of integration? > > No, R does numerical (not symbolical) calculations, hence it can never > perform integration (not even univariate) with infinite limits.

Re: [R] from XPPro to Linux what distribution to use for R ?

2007-11-10 Thread Prof Brian Ripley
On Sat, 10 Nov 2007, [EMAIL PROTECTED] wrote: > Dear R users > > I m planning to move to Linux to use R (currently under Win XPPro on a 32bit > PC with 4 Go RAM), I have 2 questions: > - is there a recommended "version/distribution" of Linux to run?R and > Bioconductor packages: Fedora ? Ubuntu

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread Ted Harding
On 10-Nov-07 14:25:32, affy snp wrote: > Dear list, > I am wondering how to log-2 based transform a matrix > with numeric values? > I tried > CGHlog2<-log2(CGH) but got an error. Then I > found for log2(x) in R, the x has to be a numeric or > complex vector. Any method for a matrix? Yes, simply th

[R] Microsoft Live Search SOAP Requests using R

2007-11-10 Thread Metaxab
Hello, I am a complete newbie to Web Services. I have set up an account to the MSN Developer Services and have acquired a key for Live Search via SOAP. I want to send and receive requests through R. I have already found out that the two packages I need is RCurl and SSOAP. I have installed them bu

Re: [R] How to log-2 transform a matrix

2007-11-10 Thread Paul Smith
On Nov 10, 2007 2:25 PM, affy snp <[EMAIL PROTECTED]> wrote: > I am wondering how to log-2 based transform a matrix with numeric values? > I tried > CGHlog2<-log2(CGH) but got an error. Then I found for log2(x) in R, > the x has to be a numeric or complex vector. Any method for a matrix? One can u

Re: [R] How to more efficently read in a big matrix

2007-11-10 Thread affy snp
Thanks all for the help and suggestions. By specifying the colClass in read.table() and running it on a server with 8Gb memory, I could have the data read in 2 mins. I will just skip sqldf method for now and get back in a moment. Best, Allen On Nov 10, 2007 2:42 AM, Prof Brian Ripley <[EMA

[R] How to log-2 transform a matrix

2007-11-10 Thread affy snp
Dear list, I am wondering how to log-2 based transform a matrix with numeric values? I tried > CGHlog2<-log2(CGH) but got an error. Then I found for log2(x) in R, the x has to be a numeric or complex vector. Any method for a matrix? Thanks a lot and have a good weekend! Allen >Error in Math.da

Re: [R] producing output as *.spo (spss output format)

2007-11-10 Thread Ivan Uemlianin
Gabor Grothendieck wrote: > There is a commercial product Stat/Transfer that I haven't used > that includes SPSS and R files on its list of files that it can > convert. Thanks, but it seems that Stat/Transfer does not support spss output files (ie .spo), only the data files: http://www.stattrans

Re: [R] attribing frequency of "levels" to each matrix cell

2007-11-10 Thread Gabor Grothendieck
Try this: my.mat[my.mat > 0] <- table(my.mat)[-1][my.mat] On Nov 10, 2007 8:19 AM, Milton Cezar Ribeiro <[EMAIL PROTECTED]> wrote: > Hi R-gurus, > > I have a matrix which looks like > > 000 > 0111220 > 0111220 > 0111000 > 000 > > As you can see we have non-zero level

Re: [R] Multivariate integration with infinite limits

2007-11-10 Thread Paul Smith
On Nov 10, 2007 12:43 PM, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > Can R perform multivariate integration with infinite limits of integration? > > No, R does numerical (not symbolical) calculations, hence it can never > perform integration (not even univariate) with infinite limits. Not entirely

Re: [R] producing output as *.spo (spss output format)

2007-11-10 Thread Ivan Uemlianin
Dear All Thanks for these pointers. odfweave looks the closest to what I need, although the use case is not quite what I had in mind. Odfweave seems to want you to write all your R code in an odf file and then process this file in R. What I have in mind is running all the code from a command

Re: [R] producing output as *.spo (spss output format)

2007-11-10 Thread Gabor Grothendieck
There is a commercial product Stat/Transfer that I haven't used that includes SPSS and R files on its list of files that it can convert. On Nov 10, 2007 6:04 AM, Ivan Uemlianin <[EMAIL PROTECTED]> wrote: > Dear All > > I am considering moving from SPSS to R as my stats environment of > choice. I

[R] attribing frequency of "levels" to each matrix cell

2007-11-10 Thread Milton Cezar Ribeiro
Hi R-gurus, I have a matrix which looks like 000 0111220 0111220 0111000 000 As you can see we have non-zero levels 1 and 2. I would like to fill an other matrix with the frequency of non-zero levels in each cell. The results that I need is 000 0999440

Re: [R] legend of type "b"

2007-11-10 Thread Uwe Ligges
Thomas Steiner wrote: > How can I choose the (line/plot) type "b"oth in the legend? > > plot(1:5,rnorm(1:5),type="b") > legend("topright","random",lty=10) For example by specifying "pch", e.g.: legend("topright","random",lty=10, pch=1) Uwe Ligges > Thanks, > Thomas > > _

Re: [R] Multivariate integration with infinite limits

2007-11-10 Thread Uwe Ligges
Paul Smith wrote: > Dear All, > > Can R perform multivariate integration with infinite limits of integration? No, R does numerical (not symbolical) calculations, hence it can never perform integration (not even univariate) with infinite limits. Uwe Ligges > Thanks in advance, > > Paul >

Re: [R] from XPPro to Linux what distribution to use for R ?

2007-11-10 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: > Dear R users > > I m planning to move to Linux to use R (currently under Win XPPro on a 32bit > PC with 4 Go RAM), I have 2 questions: > - is there a recommended "version/distribution" of Linux to run?R and > Bioconductor packages: Fedora ? Ubuntu ? Suse ? Debian ?

Re: [R] producing output as *.spo (spss output format)

2007-11-10 Thread Liviu Andronic
On 11/10/07, Chuck Cleland <[EMAIL PROTECTED]> wrote: > RSiteSearch("SPSS", restrict="function") shows nothing relevant to > *.spo files. I don't think you will ever see an R *.spo writer. You > might look into one or more of the following to produce accessible and > attractive output for clien

[R] legend of type "b"

2007-11-10 Thread Thomas Steiner
How can I choose the (line/plot) type "b"oth in the legend? plot(1:5,rnorm(1:5),type="b") legend("topright","random",lty=10) Thanks, Thomas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gui

Re: [R] producing output as *.spo (spss output format)

2007-11-10 Thread Chuck Cleland
Ivan Uemlianin wrote: > Dear All > > I am considering moving from SPSS to R as my stats environment of > choice. I have read around and everything looks favourable. There is > just one issue on which I have been unable to find information. > > Many clients ask me to send them output (tables,

[R] from XPPro to Linux what distribution to use for R ?

2007-11-10 Thread phguardiol
Dear R users I m planning to move to Linux to use R (currently under Win XPPro on a 32bit PC with 4 Go RAM), I have 2 questions: - is there a recommended "version/distribution" of Linux to run?R and Bioconductor packages: Fedora ? Ubuntu ? Suse ? Debian ? - Regarding Fedora, I see that now it is

[R] producing output as *.spo (spss output format)

2007-11-10 Thread Ivan Uemlianin
Dear All I am considering moving from SPSS to R as my stats environment of choice. I have read around and everything looks favourable. There is just one issue on which I have been unable to find information. Many clients ask me to send them output (tables, graphs, etc) as an spss output file

Re: [R] Confidence Intervals for Random Effect BLUP's

2007-11-10 Thread Gregor Gorjanc
Rick Bilonick nauticom.net> writes: ... > I think prediction interval is what is usually used. Regardless, I'm not > sure how "predict.lm" will be of much help because I asked specifically > about BLUP's for random effects and the last time I checked lm did not > handle mixed effects models. Neith

Re: [R] slowness of auto.arima() from package forecast (was Execution time very high in linux)

2007-11-10 Thread Bernardo Rangel Tura
On Fri, 2007-11-09 at 06:58 -0800, Joao Santos wrote: > Hello, > > EXAMPLE > ##Create time series > bb_500 = scan("my_file.dat") > ts <- ts(bb_500, frequency=168) > > ts > Time Series: > Start = c(1, 1) > End = c(3, 164) > Frequency = 168 > [1] 61 60 60 59 58 58 58 58 58 61 64 65 65 64 64 6

Re: [R] Binary data sets

2007-11-10 Thread Ted Harding
On 09-Nov-07 23:11:02, [EMAIL PROTECTED] wrote: > Hi, > > I would like to know if there is any algorithm in R for transforming > Binary data sets. I want something like taking all the zeros and giving > them some negative value, for example -5, and taking all ones and > giving them some positive v

Re: [R] interpreting an LME regression result...

2007-11-10 Thread Dieter Menne
Johan Jackson gmail.com> writes: > > In a regression equation not accounting for the fact that people are > nested in families, the result for Z variable is VERY strong (beta = > -4511), but this result is much weaker when I use lme and account for > people nested in families (beta = -2613). I'

[R] Binary data sets

2007-11-10 Thread pedrosmarques
Hi, I would like to know if there is any algorithm in R for transforming Binary data sets. I want something like taking all the zeros and giving them some negative value, for example -5, and taking all ones and giving them some positive value, if it had been given -5 for zeros it would be 5 fo

Re: [R] interpreting an LME regression result...

2007-11-10 Thread Andrew Robinson
Hi Johan, it's not clear to me that we have enough information to answer your question reliably, but the following thoughts might be useful to you. 1) in your lme() model, all the coefficients are closer to zero than in your lm() model. 2) the change in Z is not very large relative to its sta

Re: [R] how to generate data in a simulation study

2007-11-10 Thread Bernardo Rangel Tura
On Thu, 2007-11-08 at 10:19 +0200, sigalit mangut-leiba wrote: > hello, > I have a problem in how to generate data in a simulation study. > I have a logistic model to evaluate p by 3 covariates. > I need to generate 4 variables: the binary outcome Y and 3 covariates: > gender (binary) and aps and