Dear R People
I have a variable which is an ID number that is a factor.
I would like to look for ID numberbs that are greeater than
a particular value.
However, factors are a big ugly for these operations.
I was messing with the HR data set from the SASmixed package.
HR$Patient is a factor
Hi
On 26 May 2006 at 1:33, Erin Hodgess wrote:
Date sent: Fri, 26 May 2006 01:33:34 -0500
From: Erin Hodgess [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Subject:[R] factors and ops
Dear R People
I have a variable which
Try an ordered factor:
subset(HR, ordered(Patient) 214)
or
HR$Patient - ordered(HR$Patient)
subset(HR, Patient 214)
You might also check that it orders them in the way you want.
ordered(HR$Patient) in the first case or just HR$Patient in the
second case will display the data followed
On Thu, 11 May 2006, Arnab mukherji wrote:
Hi R-users,
I had a minor issue while demonstating R that I can't explain. I am
hoping someone will have suggestions. The only difference is a call to
fix() in between that I made to ensure people were following me.
However, that seems to have
Hi R-users,
I had a minor issue while demonstating R that I can't explain. I am hoping
someone will have suggestions.
The only difference is a call to fix() in between that I made to ensure people
were following me. However, that seems to have altered the way R code got
executed.
I was
Hi ! Wonder if I have this code below:
a - c(1, 2, 3, 2, 1)
b - c(3, 2, 3, 1, 1)
d -as.factor(a)
e -as.factor(b)
table(d,e)
is.factor(a)
is.factor(b)
is.factor(d)
is.factor(e)
de - factor(c(d,e))
is.factor(de)
require(MASS)
mca(de)
I'd like to perform a correspondence analysis, but I can't
Mauricio Cardeal Mendes
Sent: Wednesday, 3 May 2006 8:23 a.m.
To: 'R-Help help'
Subject: [R] factors and mca
Hi ! Wonder if I have this code below:
a - c(1, 2, 3, 2, 1)
b - c(3, 2, 3, 1, 1)
d -as.factor(a)
e -as.factor(b)
table(d,e)
is.factor(a)
is.factor(b)
is.factor(d)
is.factor(e)
de
Dear All:
I am interested in multinomial logit models (function multinon, library nnet)
but I'm having troubles in choose whether to define the predictors as factors
or not.
I had posted earlier this example (thanks for the reply ronggui):
worms- data.frame(year= rep(2000:2004,
usefully refer. I believe it
was on April 1.
Bill Venables.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Brito
Sent: Wednesday, 13 April 2005 8:20 AM
To: r-help@stat.math.ethz.ch
Subject: [R] factors in multinom function (nnet)
Dear All:
I am
[last week,] [EMAIL PROTECTED] wrote:
Hello,
I'm new with R. I need some help; I have a matrix of data to wich i want to
apply the function dudi.acm to perform multiple correspondence analysis.
However to use it all variables must be factors, so how can i turn each column
of the matrix into a
Hello,
I'm new with R. I need some help; I have a matrix of data to wich i want to
apply the function dudi.acm to perform multiple correspondence analysis.
However to use it all variables must be factors, so how can i turn each column
of the matrix into a factor? I've tried as.factor. It
11 matches
Mail list logo