Hi! I added as_sfnetwork methods for psp and linnet objects for #41. I had to include spatstat to Suggests since I had to convert linnet objects into psp format.
I also checked rmangal format but I'm not so sure how to include it. The code is trivial since we can transform mgNetwork objects into tidygraph format but I'm not 100% sure that it's the right conversion for creating a spatial network.
Hi! I added
as_sfnetwork
methods forpsp
andlinnet
objects for #41. I had to includespatstat
to Suggests since I had to convertlinnet
objects intopsp
format.I also checked
rmangal
format but I'm not so sure how to include it. The code is trivial since we can transformmgNetwork
objects intotidygraph
format but I'm not 100% sure that it's the right conversion for creating a spatial network.