Combine linearmask Objects

Share:

Description

Form a new linearmask object by combining the underlying vertices and drawing a new systematic sample.

Usage

1
2
## S3 method for class 'linearmask'
rbind(..., cleanskips = TRUE)

Arguments

...

one or more linearmask objects with the same spacing

cleanskips

logical; passed to internal function make.linearmask

Details

The maptools function spRbind is used to combine the ‘SLDF’ attributes of the inputs.

If the input objects have a ‘graph’ attribute then a new graph will be included in the output.

Value

A linearmask object

See Also

spRbind, read.linearmask, linearmask, subset.linearmask

Examples

1
2
3
4
5
6
7
x <- seq(0, 4*pi, length = 200)
xy <- data.frame(x = x*100, y = sin(x)*300)
xy2 <- data.frame(x = x*100, y = cos(x)*300)
test <- read.linearmask(data = xy, spacing = 20)
test2 <- read.linearmask(data = xy2, spacing = 20)

plot(rbind(test, test2))