s Torfason [mailto:zulutime@gmail.com]
Sent: August 19, 2009 12:33 PM
To: Damion Dooley
Cc: r-help@r-project.org
Subject: Re: [R] Basic question: Reading in multiple choice question
responses to a single column in data frame
Are you looking for something like this?
> d = data.frame(a=1:5,b=c("
mChoice, which will require further
study on my part.
Regards,
Damion
Damion Dooley . LearningPoint.ca Website Technology . 604 877 0304
-Original Message-
From: Magnus Torfason [mailto:zulutime@gmail.com]
Sent: August 19, 2009 12:33 PM
To: Damion Dooley
Cc: r-help@r
ike "1" into
integers and then strsplit fails on them? I was running into this earlier
when attempting strsplit directly on column values.
Damion
-Original Message-
From: Magnus Torfason [mailto:zulutime@gmail.com]
Sent: August 19, 2009 12:33 PM
To: Damion Dooley
Cc: r-h
I'm using read.delim to successfully read in tab delimited data, but some
columns' values are comma seperated, reflecting the fact that user chose a
few answers on a multi-select question. I understand that each answer is
its own category and so could be represented as a seperate column in the
dat
4 matches
Mail list logo