A method to convert an object of class sfnetwork
into
linnet
format and enhance the
interoperability between sfnetworks
and spatstat
. Use
this method without the .sfnetwork suffix and after loading the
spatstat
package.
# S3 method for sfnetwork
as.linnet(X, ...)
An object of class linnet
.
as_sfnetwork
to convert objects of class
linnet
into objects of class
sfnetwork
.