Displaying 1 result from an estimated 1 matches for "inassoc".
Did you mean:
anassoc
2012 Feb 26
1
Matrix problem to extract animal associations
...quot; "ID10_ID10_"
>
> (AMatrix <- as.character(unique(AssocMatrix[which(DMTF==TRUE)])))
[1] "ID2_ID6" "ID6_ID2" "ID6_ID10" "ID10_ID6"
>
> ##Extract those individuals not in any interactions
> nonassoc <- IDs[is.na(charmatch(inassoc,AMatrix))]
>
> (NGroups <- data.frame(ID=nonassoc,Group=1:length(nonassoc)))
ID Group
1 ID1 1
2 ID3 2
3 ID4 3
4 ID5 4
5 ID7 5
6 ID8 6
7 ID9 7
>
[[alternative HTML version deleted]]