as.linnet.linim | R Documentation |
Given some kind of data on a linear network,
the command as.linnet
extracts the linear network itself.
## S3 method for class 'linim'
as.linnet(X, ...)
## S3 method for class 'linfun'
as.linnet(X, ...)
## S3 method for class 'lintess'
as.linnet(X, ...)
## S3 method for class 'lpp'
as.linnet(X, ..., fatal=TRUE, sparse)
X |
Data on a linear network.
A point pattern (class |
... |
Ignored. |
fatal |
Logical value indicating whether data in the wrong format
should lead to an error ( |
sparse |
Logical value indicating whether to use a sparse matrix
representation, as explained in |
These are methods for the generic as.linnet
for various classes.
The network on which the data are defined is extracted.
A linear network (object of class "linnet"
).
.
linnet
,
methods.linnet
.
# make some data
xcoord <- linfun(function(x,y,seg,tp) { x }, simplenet)
as.linnet(xcoord)
X <- as.linim(xcoord)
as.linnet(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.