Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

4 results for “from:Damion Dooley”

Basic question: Reading in multiple choice question responses to a single column in data frame
Damion Dooley · Aug 19, 2009 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090819/94a7c73b/attachment-0001.pl>

Basic question: Reading in multiple choice question responses to a single column in data frame
Damion Dooley · Aug 19, 2009 · r-help

Slight addendum. Working from your code, I found 1 line of code does the conversion: myColumn = unlist(strsplit(as.character(myData[[myQuestion]]),",")); But the dataframe you set up may prove more useful. Regards, Damion -----Original Message----- From: Magnus Torfason [mailto...

Basic question: Reading in multiple choice question responses to a single column in data frame
Damion Dooley · Aug 19, 2009 · r-help

Magnus, Looks like that solution should work, and I like the flexibility of your data output, but I get a "error in strsplit(d$b,","): non-character argument" at: multis = strsplit(d$b,",") Seems like the c() function converts integer...

Basic question: Reading in multiple choice question responses to a single column in data frame
Damion Dooley · Aug 19, 2009 · r-help

Hi, Magnus, I discovered that multis = strsplit(as.character(d$b),",") Works in the example you gave. Thanks very much, looks like that's the way I'll go for now. P.s. for those others who may want, my...

Can't find what you're looking for? Try searching with Google .