[R] Sorting Data?

About this list Date view Thread view Subject view Author view Attachment view

From: Martin Klaffenboeck (martin.klaffenboeck@inode.at)
Date: Fri 28 May 2004 - 05:58:47 EST


Message-id: <20040527195847.GE4890@martin.kleinerdrache.org>

Hello,

Im reading through some manuals, but I cannot find my answer.

I have a file containing many data:

Vpn Code Family Age F1 F2 ... F17
1 1 M 46 1 2 ... 1
2 1 D 18 3 2 ... 4
3 2 M 50 3 3 ... 3
...
and so on.

Now I can read it by:

F = read.table("file", header=T)

but now I want to seperate the mothers (M) and daugthers (D) of the
family with all the data in all other fields. How can I do that?

The 'Code' Tells me which mother belongs to which dougther. I want to
make a matrix where I have the mothers on one and the daugthers on the
other axis and compair the distance of every question (F1...F17) and
the distance of the sum of this questions. The questions are semantic
differencials, 5 values. F4, and F7 must have reverse polarity in this
case.

Hm. How do I have to do now?

Thanks,
Martin

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST