Take a look at tidyr::separate()
On Fri, Oct 7, 2016 at 12:57 PM, silvia giussani
wrote:
> Hi all,
>
>
>
> could you please tell me if you find a solution to this problem (in
> Subject)?
>
>
>
> June Kim wrote:
>
>>* Hello,*
>
>>
>
>>* I use google docs' Forms to
June Kim wrote:
Hello,
I use google docs' Forms to conduct surveys online. Multiple choices
questions are coded as comma separated values.
For example,
if the question is like:
1. What magazines do you currently subscribe to? (you can choose
multiple choices)
1) Fast Company
2) Havard
Thank you. The misspelling of Harvard wasn't intended. The data are
spelled consistently.
2008/9/30 Peter Dalgaard [EMAIL PROTECTED]:
June Kim wrote:
Hello,
I use google docs' Forms to conduct surveys online. Multiple choices
questions are coded as comma separated values.
For example,
if
June Kim wrote:
Thank you. The misspelling of Harvard wasn't intended. The data are
spelled consistently.
OK. One other potential problem: If the strings are substrings of
eachother (as in Science and Statistical Science) then you may need
more care.
And I misremembered: It is probably
Try this:
table(rep(x$age, unlist(lapply(strsplit(x$favorite_magazine, ,), length))),
unlist(strsplit(x$favorite_magazine, ,)))
On Mon, Sep 29, 2008 at 11:45 AM, June Kim [EMAIL PROTECTED] wrote:
Hello,
I use google docs' Forms to conduct surveys online. Multiple choices
questions
5 matches
Mail list logo