to provide some brief annotation or describe the
> overall logic in the code you supplied it would help me immensely.
>
> Thanks,
>
> Dale
>
> -Original Message-
> From: jim holtman [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 13, 2008 6:35 AM
> To: Hohm,
: r-help@r-project.org
Subject: Re: [R] Reading Multi-value data fields for descriptive analysis
This may do what you want:
> x <- read.table("/tempxx.txt", comment="", quote="", sep="|", header=TRUE,
> as.is=TRUE)
> # split out by name
>
x27;t eat|Lawn
> Chairs;#Blanket;#my running shoes
> 3|Ranger Rick|No|I told you I don't picnic|a big net and handcuffs
> 4|Magilla Gorilla|Yes|Hamburgers;#Hot Dogs;#Potato Salad;#Cole Slaw;#BBQ
> Chicken|Softball;#Volleyball;#Lawn Chairs;#Blanket
> 5|Foghorn Leghorn|Yes|"
icken|Softball;#Heavens to Murgatroyd! Exit stage left!
Thanks in advance,
Dale
-Original Message-
From: jim holtman [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 12, 2008 11:32 AM
To: Hohm, Dale
Cc: r-help@r-project.org
Subject: Re: [R] Reading Multi-value data fields for descriptive a
Can you provide a more complete example (say 10 lines) of what the
input is like. Does each line have a unique index that can be related
to it? Do you want to summarize all the multi1-n values of Col2? Do
you want to know the percentage of input lines that have a
Col3/multi-value4 on them? You c
(I checked the archive and it seems the entire text of my post was 'scrubbed' -
trying again)
Hello,
I'm looking for help on the best approach to get "multi-value" data fields into
R for simple descriptive analysis.
-
I am new to this list and new to R, but
Hello,
I'm looking for help on the best approach to get "multi-value" data fields into
R for simple descriptive analysis.
-
I am new to this list and new to R, but I really want to get over the hump and
get productive with it. Some help with how to best get
7 matches
Mail list logo