[R] Request

2007-08-11 Thread zahid khan
Dear All I want to run Phillips-Perron test with no constant and trend in estimated equation in urca library then how i can run it with command ur.pp()? whereas if i want to run ADF test in urca library then there is no problem.Kindly guide me in this regard. Thanks Zahid Khan Lecturer

Re: [R] request

2007-08-04 Thread Duncan Murdoch
On 04/08/2007 1:41 AM, zahid khan wrote: I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work comsum My question is , how we can calculate the commulative sum of any numeric vector with above command In English

[R] request

2007-08-03 Thread zahid khan
I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work comsum My question is , how we can calculate the commulative sum of any numeric vector with above command Thanks Zahid Khan Lecturer in Statistics Department

Re: [R] request

2007-08-03 Thread Stephen Tucker
?cumsum --- zahid khan [EMAIL PROTECTED] wrote: I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work comsum My question is , how we can calculate the commulative sum of any numeric vector with above command

[R] Request for help re. opening workspace

2007-01-25 Thread Clough, Helen
Dear all, I am wondering if someone can help me out of a pickle - forgive me if there is an obvious solution to the following - I am not very proficient in the more technical aspects of R. I am working with a large data set in R, which for reasons of housekeeping I normally remove upon

Re: [R] Request for help re. opening workspace

2007-01-25 Thread Prof Brian Ripley
This is I assume Windows? If your version of Windows has the /3GB switch set, try starting with Rgui --max-mem-size=2.5G (if not, that will probably not work) and see if the workspace will load (slowly). Saved workspaces are compressed, often highly compressed. I have to say I am pretty

Re: [R] Request for help re. opening workspace

2007-01-25 Thread Prof Brian Ripley
On Thu, 25 Jan 2007, Prof Brian Ripley wrote: This is I assume Windows? If your version of Windows has the /3GB switch set, try starting with Rgui --max-mem-size=2.5G (if not, that will probably not work) and see if the workspace will load (slowly). Saved workspaces are compressed,

[R] Request regarding cluster package

2007-01-16 Thread Bhanu Kalyan.K
Dear Mr. Bengtsson, I see that there is a package exclusively for clustering data, named as Cluster Package in R library. It has some clustering algorithms implemented. Can you tell me how to implement the CLARA and PAM functions from that package for my data? Bhanu Kalyan K B.Tech Final

Re: [R] Request regarding cluster package

2007-01-16 Thread Uwe Ligges
Bhanu Kalyan.K wrote: Dear Mr. Bengtsson, I see that there is a package exclusively for clustering data, named as Cluster Package in R library. It has some clustering algorithms implemented. Can you tell me how to implement the CLARA and PAM functions from that package for my data?

[R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread James Wettenhall
[PLEASE REPLY _OFF_ THE LIST, i.e. DON'T CC to [EMAIL PROTECTED] Hi, I don't see this sort of thing very often on the mailing lists, so list moderators and others should feel free to tell me if it breaches list etiquette and/or delete my post if necessary. But I can't see what harm it could

Re: [R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread David Firth
I have used your R-Tcl/Tk Examples. (Thanks! The ideas were much appreciated.) I am from the United Kingdom. David -- Professor David Firth http://www.warwick.ac.uk/go/dfirth __ R-help@stat.math.ethz.ch mailing list

Re: [R] Request for users of my R-Tcl/Tk examples, limmaGUI or affylmGUI

2006-02-02 Thread David Firth
On Thursday 02 February 2006 12:53, you wrote: ... [PLEASE REPLY _OFF_ THE LIST, i.e. DON'T CC to [EMAIL PROTECTED] oops! I just realised that I hit the wrong button and replied to r-help just now... Sorry! I guess that *is* one of the perils of sending a request such as this to a mailing

[R] request

2005-10-08 Thread nmi13
Dear All, Can someone please tell me if there is a provision in R to fit a random coefficient multinomial logistic regression. Thanks in advance for your help and suggestions. Regards Murthy.N.M __ R-help@stat.math.ethz.ch mailing list

[R] Request: in savePlot, type=eps

2005-09-01 Thread Mike Prager
Platform: Windows R version: 2.1.1 This is a request that in the savePlot function, type=eps be included in the next release. This would be an alias for type=ps but with a different file extension. Rationale: The current version of R outputs excellent EPS files. It is strictly correct to

[R] request/suggestion: modified names

2005-06-30 Thread Ritter, Christian C GSMCIL-GSTMS/2
For some time now I use a modified version of names (extract direction) of the following type: Names- function (x,filter=^) { grep(filter,names(x),value=TRUE) } Request: Has anyone already written a version which goes the other way (that is, which allows assignment of the type

Re: [R] request/suggestion: modified names

2005-06-30 Thread Gabor Grothendieck
On 6/30/05, Ritter, Christian C GSMCIL-GSTMS/2 [EMAIL PROTECTED] wrote: For some time now I use a modified version of names (extract direction) of the following type: Names- function (x,filter=^) { grep(filter,names(x),value=TRUE) } Request: Has anyone already written a version

[R] Request for help

2005-01-27 Thread Michela Marignani
My name is Michela Marignani and I'm an ecologist trying to solve a problem linked to knight' s tour algorithm. I need a program to create random matrices with presence/absence (i.e. 1,0 values), with defined colums and rows sums, to create null models for statistical comparison of species

Re: [R] Request for help

2005-01-27 Thread Patrick Burns
If I understand your problem properly, then your matrices have a known number of zeros and ones in them. So you can create a matrix with just this constraint binding via: mat - matrix(sample(rep(0:1, c(nzeros, nones))), nr, nc) That command first generates the appropriate number of zeros and ones

RE: [R] Request for help (reference details)

2005-01-27 Thread Huntsinger, Reid
(the Metropolis step). Reid Huntsinger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Huntsinger, Reid Sent: Thursday, January 27, 2005 10:50 AM To: 'Michela Marignani'; r-help@stat.math.ethz.ch Subject: RE: [R] Request for help Persi Diaconis

[R] request for help on statistical applications in pharma

2004-12-01 Thread neela v
Hi all there Can some one who have experience and knowledge in the pharma industry give me broad details on the subject Statistical applications for pharma industry. I am new to the subject i.e. what kind of statistical tools used being unique /or atleast specific for pharma industry. It

RE: [R] request for help on statistical applications in pharma

2004-12-01 Thread Liaw, Andy
This is off-topic for the list! Anyway, you may find the following useful: http://www.elmo.ch/doc/statistics-in-pharma/ Andy From: neela v Hi all there Can some one who have experience and knowledge in the pharma industry give me broad details on the subject Statistical applications

[R] Request for Gamma frailty

2004-12-01 Thread rahgozar
Dear Sir/Madam , I need to use Gamma Frailty Model in a simulation study ,so I should replicate the program many times and get estimates of THETA and its Variance or Variance-Covariance matrix Or Variace of random effect in Gamma frailty model in Survival analysis at each time of

[R] Request for Gamma Frailty Simulation

2004-11-30 Thread rahgozar
Dear Sir/Madam, I need to use Gamma Frailty Model in a simulation study ,so I should replicate the program many times and get estimates of THETA and its Variance or Variance-Covariance matrix Or Variace of random effect in Gamma frailty model in Survival analysis at each time of

Re: [R] Request help writing a function

2004-06-06 Thread Chuck Cleland
Greg: I think you want to apply the function Gabor suggested to the rows of your subsetted dataframe: mydata - as.data.frame(matrix(c (1, NA, 3, 2, 2, 2, 2, 2, 1, NA, 2, 2), byrow = TRUE, ncol = 4)) apply(mydata, 1, function(x){mean(x == 2, na.rm =

RE: [R] Request help writing a function

2004-06-06 Thread Liaw, Andy
Perhaps simpler: prop2 - rowMeans(ph5028[, 83:107] == 2, na.rm=TRUE) HTH, Andy From: Chuck Cleland Greg: I think you want to apply the function Gabor suggested to the rows of your subsetted dataframe: mydata - as.data.frame(matrix(c (1, NA, 3, 2, 2,

[R] Request help writing a function

2004-06-05 Thread Greg Blevins
I have been wrestling with this function for quite a while, and am not making headway. 1) I want to apply a function to the following columns of a dataframe: myfunction. - apply(ph5028[,c(83:107)],2,function(x) ... 2) Within each of the above columns there is a single numeric code, 1, 2 or 3 or

Re: [R] Request help writing a function

2004-06-05 Thread Gabor Grothendieck
I think you need to give an example of input and output to clarify your question but in case this helps, if x is a numeric vector then mean(x==2, na.rm=T) gives the proportion of 2s among the non-NAs in x. Greg Blevins gblevins at mn.rr.com writes: : : I have been wrestling with this function

Re: [R] Request help writing a function

2004-06-05 Thread Greg Blevins
again, Greg Blevins - Original Message - From: Gabor Grothendieck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 11:51 PM Subject: Re: [R] Request help writing a function I think you need to give an example of input and output to clarify your question but in case

[R] Request comments on missing data diagnosis code

2004-06-02 Thread Patrick E. McKnight
Greetings, The attached code is my preliminary attempt to create a comprehensive missing data diagnostic package. I would greatly appreciate any constructive feedback about the code and encourage others to use it if they feel it is helpful. One warning might be in order - I have tested the

[R] Request for introductory document

2003-10-20 Thread Baize, Harold
After 25 years of using SPSS syntax I am having some problems adapting to R. It would be a huge help for people like myself to have an introductory help document, like R for SPSS Users. Such a document would jump start SPSS users by covering the use of the foreign function to read .sav

[R] request

2003-03-31 Thread Ghosh Mini
Dear all, Hope you are fine there. I want to know Is it possible to treat Day,month and year seperately in a data frame in R Means, suppose I want to take mean of data first by day wise and then by month. Is it possible using R?? Thanking you, regards, mini

Re: [R] request

2003-03-31 Thread Jason Turner
On Mon, Mar 31, 2003 at 01:40:23PM +0200, Ghosh Mini wrote: Dear all, Hope you are fine there. I want to know Is it possible to treat Day,month and year seperately in a data frame in R It's easy, if your date column is a POSIX*t date/time class. help(DateTimeClasses) should shed some

[R] Request

2003-03-29 Thread Ghosh Mini
Dear all, I am calling a table (data of several years) by psql command (order by date) aggregate(mydata[, c(nymphs, adults)],list(date = mydata$date) is giving table order by month (of each year) like 1 09-29-1999 0. 0. 2 09-30-1999 0.1667 0. 3 10-05-2000

Re: [R] Request

2003-03-29 Thread ripley
As far as I can see those are just character strings, and what has psql to do with it? Some more details would have been helpful. Your strings do not appear to be valid dates: the ISO standard is 1999-09-29 etc. So the simplest solution is to use a Standard data format, which will sort the way

[R] Request for confirmation.

2003-03-29 Thread Matt Reams
You have just requested to subscribe to a quality business opportunity opt-in list maintained by GetResponse.com opt-in/autoresponder service. The list owner has requested your confirmation to verify your e-mail address. To activate your subscription and instantly receive information on an

[R] Request

2003-03-27 Thread Ghosh Mini
Dear all, I am trying to learn R. Is it possible to find the mean of some rows (of some table) and to put it in new table. For example we have following table date x y z 1 05-23-2001 7 1 3 2 05-24-2001 8 4 5 3 05-24-2001 6 0

Re: [R] Request

2003-03-27 Thread ccleland
Ghosh Mini [EMAIL PROTECTED] Is it possible to find the mean of some rows (of some table) and to put itin new table. Maybe you want something like this: apply(mydata[, c("x", "y", "z")], 2, function(x){tapply(x, list(mydata$date), mean, na.rm=TRUE)}) hope this helps, Chuck Cleland

[R] Request

2003-01-12 Thread Ghosh Mini
Dear Sir/Madam, I am opening emacs in red hat linux, it is giving message at the bottom 'Error in init file: end of file during parsing' i am not getting why this message. Actually i am trying to run R through emacs and when i am giving command M-x R it is saying 'No match'. So not getting