as_gn transmutes an existing object into a geometric network, an object
of class gn.
Usage
as_gn(x, ...)
# S3 method for linnet
as_gn(x, ..., spatstat = FALSE)
# S3 method for gnpp
as_gn(x, ...)
# S3 method for gnppfit
as_gn(x, ...)
# S3 method for lpp
as_gn(x, ..., spatstat = FALSE)
# S3 method for lppfit
as_gn(x, ...)
Value
An object of class gn.
Arguments
x
An object that could reasonably be transmuted to an
object of class gn.
...
Other arguments.
spatstat
Set to TRUE if retransformation to an object of any
spatstat class is desired. Some elements of these objects (such as
the window) are otherwise discarded when being transmuted to an object of
class gn.