Re: [R] How to check if a value of a variable is in a list

2011-04-20 Thread Uwe Ligges
On 20.04.2011 05:00, Frederik Lang wrote: Hi all, I am working with some social network analysis in R and ran into a problem I just cannot solve. Each observation in my data consists of a respondent, some characteristics and up to five friends. The problem is that all of these five friends m

[R] How to check if a value of a variable is in a list

2011-04-19 Thread Frederik Lang
Hi all, I am working with some social network analysis in R and ran into a problem I just cannot solve. Each observation in my data consists of a respondent, some characteristics and up to five friends. The problem is that all of these five friends might no show up later as a respondent (observa