Dear all,

I am trying to calculate barriers with the monmonier algorithm
(adegenet).

mon1 <- monmonier(mycoordinates, mydistancamatrix, network$cn, ...)

The network beforehand looked alright. However, I always get the error:
"cn is not a nb object". I am not really sure what this means, probably
that the network is not recognised properly. So far I was not able to
detect my fault, though I already installed the newest version of R and
updated all packages (which was suggested in help files I have found
during the search). Any help would be highly appreciated!

Thanks in advance!

Best regards
Johannes

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to