Dear all,
I need to clean up one variables in a dataset.
e.g. lets say the dataset is trial, the variable for cleaning up is V1
trial$V1
[1] 0(a=1) 0(b=1) 0.133(b=1) 0.555(a=1) 5.32(a=1)
what i need to do is to remove the text (a=1) and (b=1) and the in the
V1, and then convert to a numeric
Hi all,
I have a queston about Categorical response.
i have a data frame containing age, sex, class, success(1=success,
0=non sucess).
age, sex,class are the explantory variables, and sucess is the
response variable. and i can get n (the nunber of times each age
occurs) and r (the number of
please advise what I have done wrong? why the error message come up.
Am I doing the right thing to fix the question i mentioned in the
first email (the bottom email)?
Cheers. Andyer
-- Forwarded message --
From: andyer weng [EMAIL PROTECTED]
Date: 2008/10/18
Subject: Fwd: Categorial
Hi All,
I have a data set containing :
pclass: A factor giving the class of the passenger: one of 1st, 2nd, 3rd.
age The age of the passenger in years.
sex Passenger's gender: female or male
age.group Passengers age group, one of 0‐9 , 10‐19, 20‐29, 30‐39,
40‐49, 50‐59, 60‐69,
70‐79
survived
.
-- Forwarded message --
From: andyer weng [EMAIL PROTECTED]
Date: 2008/10/18
Subject: RE:Categorial Response Questions
To: r-help@r-project.org
Hi All,
I have a data set containing :
pclass: A factor giving the class of the passenger: one of 1st, 2nd, 3rd.
age The age
further more, my purpose for below questions is to assessthe effect
of class, age and sex on the survival.
Cheers.
-- Forwarded message --
From: andyer weng [EMAIL PROTECTED]
Date: 2008/10/18
Subject: Fwd: Categorial Response Questions
To: r-help@r-project.org
Sorry Guys, i
-- Forwarded message --
From: andyer weng [EMAIL PROTECTED]
Date: 2008/10/18
Subject: Fwd: Categorial Response Questions
To: r-help@r-project.org
Sorry Guys, i press the wrong button to send out the uncompleted message.
let me do it again.
my purpose for below questions is to assess
Hi all,
I am kind of stuck of using Predict function in R to make prediction
for a model with continuous variable and categorial variables. i have
no problem making the model, the model is e.g.
cabbage.lm2- lm(VitC ~ HeadWt + Date + Cult)
HeadWt is a continuous variable, Date and Culte are
Hi all,
I am kind of stuck of using Predict function in R to make prediction
for a model with continuous variable and categorial variables. i have
no problem making the model, the model is e.g.
cabbage.lm2- lm(VitC ~ HeadWt + Date + Cult)
HeadWt is a continuous variable, Date and Culte are
9 matches
Mail list logo