[Rsiena-help] coding missings

Huisman, Chip C.Huisman at uva.nl
Wed Jun 16 09:02:34 CEST 2010


Dear all,
 
I get the following error message:
 
 
Error in sienaNet(array(c(friend.data.w1, friend.data.w2), dim = c(962,  : 
  entries in networks must be 0, 1, 10 or 11

I use 9 for missings and 10 for structural sero's. 
 
and I use the following script to indicate the missings:
friend.data.w1[friend.data.w1 %in% c(9)] <- NA
friend.data.w2[friend.data.w2 %in% c(9)] <- NA
 
what am I doing wrong here?
 
best wishes,
 
Chip 

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20100616/50fca6da/attachment.htm>


More information about the Rsiena-help mailing list