rbind.linearmask: Combine linearmask Objects

rbind.linearmaskR Documentation

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

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.

Value

A linearmask object

See Also

read.linearmask, linearmask, subset.linearmask

Examples


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


secrlinear documentation built on Oct. 17, 2023, 9:07 a.m.