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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo