Re: [R] Not sure if I have the requirement right.

2014-01-26 Thread Jeff Newmiller
You are confused. This is not the correct email to submit your project to. This is the R-help mailing list, and you desperately need to read the posting guide mentioned at the end of this email before you send anything else to this email address.

Re: [R] Packaging - Function with dots as argument

2014-01-26 Thread Eva Prieto Castro
Hi again, I have chosen the solution reading the Rd file of xyplot.zoo function, in zoo package. Regards. Eva El Domingo 26 de enero de 2014 2:45, Eva Prieto Castro evapcas...@yahoo.es escribió: Hi everybody, I am writing the .Rd files of my pckage, and I have a doubt in relation

Re: [R] Packaging - Function with dots as argument

2014-01-26 Thread Rui Barradas
Hello, You can put that in the Details section, something like \arguments{ \item{\dots}{several arguments to pass to another function, see Details} } and then document the arguments a and b in the Details section. Hope this helps, Rui Barradas Em 26-01-2014 01:45, Eva Prieto Castro

[R] ETAS-Error

2014-01-26 Thread katerina stavrianaki
Hello, I am working with the ETAS pachkage. I created a ppx file from my data (attached file example.csv) and now i am trying to run the etas model but an error occurs. Could you help me please on how to fix this problem?I am copy-pasting the procedure i followed: library(spatstat)Loading

[R] pair-wise computation of columns in a matrix

2014-01-26 Thread Kathryn Lord
Dear R users, I'd like to compute rho(looks like a correlation matrix) with every two columns of uu matrix below. Toy example, uu - matrix(1:15, nr=3, nc=5) uu [,1] [,2] [,3] [,4] [,5] [1,]147 10 13 [2,]258 11 14 [3,]369 12 15 rho -

Re: [R] pair-wise computation of columns in a matrix

2014-01-26 Thread arun
Hi, Try:  indx- combn(ncol(uu),2) sapply(seq_len(ncol(indx)),function(i) rho(uu[,indx[1,i]],uu[,indx[2,i]])) # [1] 0.9746318 0.9594119 0.9512583 0.9462555 0.9981909 0.9961499 0.9946367 # [8] 0.9996186 0.9990560 0.9998746 A.K. On Sunday, January 26, 2014 10:04 AM, Kathryn Lord

[R] Ass. 3 part 8 - output is correct but submission fails

2014-01-26 Thread F. Keshavarz
I verify my output with the csv file but I get an error in my submission. I am not sure I have the requirements understood. ex: rankall(Heart attack,4) gives me the following for AZ (this is a section of my output) FLAGSTAFF MEDICAL CENTERAZ SUMMIT HEALTHCARE REGIONAL MEDICAL CENTER

[R] What is tested in Ass.3 part 2

2014-01-26 Thread F. Keshavarz
I got an incorrect for my Ass.3 part 2 submission. What does this part 2 test. I want to correct the problem but do not know what the problem was. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Ass. 3 part 8 - output is correct but submission fails

2014-01-26 Thread David Winsemius
Please STOP sending homework questions to R-help! -- david On Jan 25, 2014, at 10:19 PM, F. Keshavarz wrote: I verify my output with the csv file but I get an error in my submission. I am not sure I have the requirements understood. ex: rankall(Heart attack,4) gives me the following for

Re: [R] Ass. 3 part 8 - output is correct but submission fails

2014-01-26 Thread Sarah Goslee
This is not the correct list for your questions on your homework. You need the list for your class, NOT the worldwide R-help list. Sarah On Sun, Jan 26, 2014 at 1:19 AM, F. Keshavarz fkes...@gmail.com wrote: I verify my output with the csv file but I get an error in my submission. I am not

Re: [R] ETAS-Error

2014-01-26 Thread Rolf Turner
On 26/01/14 23:58, katerina stavrianaki wrote: Hello, I am working with the ETAS pachkage. I created a ppx file from my data (attached file example.csv) and now i am trying to run the etas model but an error occurs. Could you help me please on how to fix this problem?I am copy-pasting the

Re: [R] add median/mean line to stri-plot in lattice

2014-01-26 Thread Duncan Mackay
Hi Luigi If you str(stripplot(.)) ie your example you will see that the x is categorical and it is harder to put lines onto it than xyplot so that is what I referred to Try this - I have added a column and put in segments - I converted it to xyplot because of above I have set the x axis

[R] How can I cluster a set of formulae?

2014-01-26 Thread Professor George F.Hart
I am working on a problem in which I have derived a set of D formulae relating a different dependent variable to a grouping of independent variables. D1 = intercept + ax1 + bx2 + bx3 + bx4 D2 = intercept + ex2 + fx7 + gx8 D3= intercept + hx1 + ix3 + jx7 etc to ... D8. I have 3 categorical

Re: [R] How can I cluster a set of formulae?

2014-01-26 Thread Bert Gunter
SO (stats.stackexchange.com) is the better list for methodological issues like this. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. H. Gilbert Welch On Sun, Jan 26,

[R] problem in getVarianceStabilizedData

2014-01-26 Thread Suparna Mitra
Hi All, I am having a problem while running getVarianceStabilizedData in DDSeq2 package. data.vsd-getVarianceStabilizedData(data) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dispersionFunction’ for signature ‘CountDataSet’ Though the