Re: [R] gdistance::shortestPath throws error "not a symmetric matrix"

2018-02-06 Thread Jeff Newmiller
It is really hard to help you fix a function usage error if you don't show us how you used the function. [1][2][3] As for helping a customer by asking for help on the wrong list... you are not an expert on the topic, and are asking a group that might or might not know the theory behind your que

[R] gdistance::shortestPath throws error "not a symmetric matrix"

2018-02-06 Thread Loris Bennett
Hi, Calling gdistance::shortestPath gives me the error Error in asMethod(object) : not a symmetric matrix; consider forceSymmetric() or symmpart() The output of dput(.traceback()) is pairlist("stop(\"not a symmetric matrix; consider forceSymmetric() or symmpart()\")", "asMethod(