Learn R Programming

DSsim (version 1.1.4)

generate.transects: S4 generic method to generate an instance of a design

Description

Uses the Survey.Design details to generate transects. Currently this involves loading a survey shapefile from the path specified in the Survey.Design object and can only work with line transect designs.

Usage

generate.transects(object, region = NULL, ...)

# S4 method for PT.Design generate.transects(object, region = NULL, index = NULL)

# S4 method for PT.Nested.Design generate.transects(object, region = NULL, index = NULL, silent = FALSE)

# S4 method for PT.Systematic.Design generate.transects(object, region = NULL, index = NULL, silent = FALSE)

# S4 method for LT.Design generate.transects(object, region = NULL, index = NULL)

# S4 method for LT.EqSpace.ZZ.Design generate.transects(object, region = NULL, index = NULL, silent = FALSE, complement = FALSE)

# S4 method for LT.Systematic.Design generate.transects(object, region = NULL, index = NULL, silent = FALSE)

# S4 method for Simulation generate.transects(object, region = NULL)

Arguments

object

an object of class Simulation or a class which inherits from Survey.Design

region

optional only required if object is of class Survey.Design.

...

optional argument index if an object of class Survey.Design is supplied allowing the user to access / plot different sets of transects listed in the filenames slot.

index

specifies which set of transect should be loaded

silent

if TRUE does not report warnings about a single value for nested spacing with a multi strata region

complement

logical indicating whether two sets of complimentary transects should be generated

Value

an object of class Line.Transect