systematicDesign: The systematicDesign function from SSN updated to be...

Description Usage Arguments Details Value

View source: R/systematicDesign.R

Description

systematicDesign replaces a function of the same name from the package SSN. This version of the function can be used with generateSites.

Usage

1
2
systematicDesign(spacing, replications = 1, rep.variable = "Time",
  rep.values)

Arguments

spacing

A numeric vector having length 1 or the same length as the number of networks. This represents the desired spacing for the regular grid of points.

replications

The number of replications of each point.

rep.variable

The name of the variable that will distinguish between the replicated points.

rep.values

The values that will be given to the variable named rep.variable. rep.values[1] will be assigned for replication 1, rep.values[2] for replication 2, etc. Defaults to 1:replications if no value is given.

Details

This function was written to deal with errors resulting in the systematicDesign function from the package SSN when it was used with SpatialStreamNetworks built from real spatial data. It is back-compatible with the createSSN function from SSN.

Value

Result not seen by user.


apear9/SSNdesign documentation built on Feb. 19, 2020, 4:29 a.m.