"linim" of functions on a linear network.## S3 method for class 'linim':
print(x, \dots) ## S3 method for class 'linim':
summary(object, \dots)
## S3 method for class 'linim':
as.im(X, \dots)
## S3 method for class 'linim':
as.data.frame(x, \dots)
## S3 method for class 'linim':
shift(X, \dots)
## S3 method for class 'linim':
scalardilate(X, f, \dots, origin=NULL)
## S3 method for class 'linim':
affine(X, mat=diag(c(1,1)), vec=c(0,0), ...)
"linim")."centroid", "midpoint" and "bottomleft".
Partially matched.print.linim the result is NULL. The function summary.linim returns an object of class
"summary.linim". In normal usage this summary is
automatically printed by print.summary.linim.
For as.im.linim the result is an object of class "im".
For the geometric transformations shift.linim,
scalardilate.linim and affine.linim, the result is
another object of class "linim".
print, summary
and as.data.frame,
and the as.im,
shift,
scalardilate and
affine. 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.
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))Run the code above in your browser using DataLab