Hello!

I am R beginner and I have a question obout a simple matching.

I have to datasets that i read in with:

MalVar29_37<-read.table("MalVar29_37.csv", sep = ";")
FemVar29_37<-read.table("FemVar29_37.csv", sep = ";")

They look like this and show binary variables:

     V1 V2 V3 V4 V5 V6 V7 V8 V9
1    0  0  0  0  0  1  0  0  0
2    0  0  0  0  0  1  0  0  0
3    0  0  0  0  0  1  0  0  0
4   NA NA NA NA NA NA NA NA NA
5    0  1  0  0  0  1  0  0  0

     V1 V2 V3 V4 V5 V6 V7 V8 V9
1    1  1  0  0  0  0  0  0  0
2    0  1  0  0  1  1  0  0  0
3    1  0  0  1  0  0  0  0  0
4    0  1  0  0  1  0  0  0  0
5    0  1  0  0  0  0  0  0  0

each with 348 rows.

I would like to perform a simple matching but only row 1 compared to  
row1, row 2 compared to row 2 (paired).......giving back a number as  
dissimilarity for each comparison.

How can i do that?

Thanks in advance

Birgit




Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
[EMAIL PROTECTED]






        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to