Re: [R] Missing 'getGroupMembers()'

2003-06-01 Thread John Chambers
Anton Crombach wrote: Hi, I'm trying to write a method such that my own classes can be used with the groups like Summary and Math, but when I tried to look for examples or just wanted to get an idea of which functions are the members of a group, I found out that the function

[R] function to populate a matrix based on a lookup to anothermatrix ?

2003-06-01 Thread peter leonard
Hi, This is a beginner R question. I have a 4x4 matrix named 'lookup' with the following values: 1 2 3 4 1 0.00 2.828427 5.656854 8.485281 2 2.828427 0.00 2.828427 5.656854 3 5.656854 2.828427 0.00 2.828427 4 8.485281 5.656854 2.828427

Re: [R] function to populate a matrix based on a lookup to anothermatrix ?

2003-06-01 Thread Uwe Ligges
peter leonard wrote: Hi, This is a beginner R question. I have a 4x4 matrix named 'lookup' with the following values: 1 2 3 4 1 0.00 2.828427 5.656854 8.485281 2 2.828427 0.00 2.828427 5.656854 3 5.656854 2.828427 0.00 2.828427 4 8.485281

Re: [R] parse on left hand side of R assignment

2003-06-01 Thread Uwe Ligges
Paul E. Johnson wrote: I keep finding myself in a situation where I want to calculate a variable name and then use it on the left hand side of an assignment. For example iteration - 1 varName - paste(run,iteration,sep=) myList$parse(text=varName) - aColumn I want to take some existing variable

Re: [R] parse on left hand side of R assignment

2003-06-01 Thread Spencer Graves
Have you considered the following: myList - list() iteration - 1 varName - paste(run,iteration,sep=) myList[[varName]] - aColumn myList $run1 [1] aColumn hth. spencer graves Paul E. Johnson wrote: I keep finding myself in a situation where I want to calculate a variable name and then use

Re: [R] parse on left hand side of R assignment

2003-06-01 Thread John Fox
At 11:57 AM 5/31/2003 -0500, Paul E. Johnson wrote: I keep finding myself in a situation where I want to calculate a variable name and then use it on the left hand side of an assignment. For example iteration - 1 varName - paste(run,iteration,sep=) myList$parse(text=varName) - aColumn I want to

Re: [R] Need help installing qtoolbox

2003-06-01 Thread Joe Conway
Toby Popenfoose wrote: Is there another control chart library for R that I should be trying instead? I looked around and could not find an R package for Shewhart control charts. I'll post the function I wrote for my own needs, but note that I am not a statistician, nor am I particularly

[R] logistic regression

2003-06-01 Thread Edoardo M Airoldi
hi all, I am fitting a logistic regression model on binary data. I care about the fitted probabilities, so I am not worried about infinite (or non-existent) MLEs. I use: glm(Y~., data=X, weights=wgt, family=binomial(link=logit), maxit=250) I understand the three ways to fit model, and in

[R] logistic regression (weights)

2003-06-01 Thread Edoardo M Airoldi
hi all, I am fitting a logistic regression model on binary data. I care about the fitted probabilities, so I am not worried about infinite (or non-existent) MLEs. I use: glm(Y~., data=X, weights=wgt, family=binomial(link=logit), maxit=250) I understand the three ways to fit model, and in

Re: [R] function to populate a matrix based on a lookup toanother matrix ?

2003-06-01 Thread Gabor Grothendieck
peter leonard wrote: I have a 4x4 matrix named 'lookup' with the following values: [...] I then create a new empty matrix named 'dd' with specfic row and col names : 1 3 4 33 1 1 NA NA NA NA NA NA 2 NA NA NA NA NA NA 3 NA NA NA NA NA NA 4 NA NA NA NA NA NA 3 NA NA NA

Re: [R] function to populate a matrix based on a lookup to anothermatrix ?

2003-06-01 Thread peter leonard
That worked perfect. Thanks for the fast response. Peter Leonard From: Uwe Ligges [EMAIL PROTECTED] To: peter leonard [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [R] function to populate a matrix based on a lookup to another matrix ? Date: Sat, 31 May 2003 17:58:27 +0200 peter