as.linnet: Convert a sfnetwork into a linnet

as.linnetR Documentation

Convert a sfnetwork into a linnet

Description

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.

Usage

as.linnet.sfnetwork(X, ...)

Arguments

X

An object of class sfnetwork with a projected CRS.

...

Arguments passed to linnet.

Value

An object of class linnet.

See Also

as_sfnetwork to convert objects of class linnet into objects of class sfnetwork.


luukvdmeer/sfnetworks documentation built on Nov. 21, 2024, 4:54 a.m.