as.linnet.linim: Extract Linear Network from Data on a Linear Network
Description
Given some kind of data on a linear network,
the command as.linnet extracts the linear network itself.
Usage
# S3 method for linim
as.linnet(X, ...)
# S3 method for linfun
as.linnet(X, ...)
# S3 method for lintess
as.linnet(X, ...)
# S3 method for lpp
as.linnet(X, ..., fatal=TRUE, sparse)
Value
A linear network (object of class "linnet").
Arguments
X
Data on a linear network.
A point pattern (class "lpp"),
pixel image (class "linim"), function (class
"linfun") or tessellation (class "lintess")
on a linear network.
...
Ignored.
fatal
Logical value indicating whether data in the wrong format
should lead to an error (fatal=TRUE) or a warning
(fatal=FALSE).
sparse
Logical value indicating whether to use a sparse matrix
representation, as explained in linnet.
Default is to keep the same representation as in X.