Just starting out with ERGM so apologies if the following question is not logical. I have tried to search on this site, and statnet_help, with no luck.
I was wondering whether the ergm() function in statnet can now cope with missing data on attributes? I have coded it as 'na' in R but running the following ergm model resulted in an error.
> m2 <- ergm(d1~edges + nodecov('wellbeing'))
> Error in ergm.getglobalstats(nw, model, response = response) :
> NA/NaN/Inf in foreign function call (arg 13)
The attribute variable in question is continuous.
Many thanks, S