<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText55140>Dear all,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>I get the following error message:</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Error in sienaNet(array(c(friend.data.w1, friend.data.w2), dim = c(962, : <BR> entries in networks must be 0, 1, 10 or 11<BR></DIV>
<DIV dir=ltr>I use 9 for missings and 10 for structural sero's. </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>and I use the following script to indicate the missings:</DIV>
<DIV dir=ltr>friend.data.w1[friend.data.w1 %in% c(9)] <- NA<BR>friend.data.w2[friend.data.w2 %in% c(9)] <- NA</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>what am I doing wrong here?</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>best wishes,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Chip <BR></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> </DIV></BODY></HTML>