[R] data format
jim holtman
jholtman at gmail.com
Tue Oct 30 18:02:24 CET 2007
Here is how to read it in. Then you can run your analysis:
> x <- read.csv(textConnection("Label,Value
+ Good,10
+ Bad,12
+ Good,15
+ Good,18
+ Good,12
+ Bad,15
+ Bad,10"))
> x
Label Value
1 Good 10
2 Bad 12
3 Good 15
4 Good 18
5 Good 12
6 Bad 15
7 Bad 10
On 10/30/07, Emre Unal <emre.unal at gmail.com> wrote:
> Hi,
>
> How can I analyze the data collected in database formatting (with labels)
> rather than splitted by individual columns (almost in excel)?
>
> For example (comma separated data);
>
> Label,Value
> Good,10
> Bad,12
> Good,15
> Good,18
> Good,12
> Bad,15
> Bad,10
> etc...
>
> ks.test or chisq.test can be done.
> Splitting the data into new columns is not applicable cos' I'll use
> R-integration in another software.
>
>
>
> Thanks for your concern
> Emre
>
>
>
>
>
>
>
>
>
> --
> ---
> Emre ÜNAL
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?
More information about the R-help
mailing list