Learn R Programming

secrlinear (version 1.0.3)

rbind.linearmask: Combine linearmask Objects

Description

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

Usage

## 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

Value

  • A linearmask object

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.

See Also

spRbind, read.linearmask, linearmask, subset.linearmask

Examples

Run this code
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))

Run the code above in your browser using DataLab