I just try to calculate and plot knn(k) of outdegree using function knn(), but there is no parameter “mode” (all, out, in). How i can calculate and plot knn(k) of outdegree without knn()?
The mode argument has already been implemented and will be included in the next version. In fact, there will be two mode arguments: one controlling finding neighbours, the other for computing their degrees.
Until then, I’m afraid you need to implement it from scratch (I guess with
Try installing the development version from Github; that one should include the