An object of class "linfun" represents a
pixel image defined on a linear network.
The method as.im.linim extracts the pixel values
and returns a pixel image of class "im".
The method as.data.frame.linim returns a data frame
giving spatial locations (in cartesian and network coordinates)
and corresponding function values.
The methods shift.linim,
scalardilate.linim and affine.linim
apply geometric transformations to the pixels and the underlying
linear network, without changing the pixel values.
# NOT RUN { M <- as.mask.psp(as.psp(simplenet))
Z <- as.im(function(x,y) {x-y}, W=M)
X <- linim(simplenet, Z)
X
shift(X, c(1,1))
scalardilate(X, 2)
head(as.data.frame(X))
# }