Learn R Programming

secrlinear (version 1.2.4)

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 linearmask
rbind(..., cleanskips = TRUE)

Value

A linearmask object

Arguments

...

one or more linearmask objects with the same spacing

cleanskips

logical; passed to internal function make.linearmask

Details

The sp function rbind 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

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