hardCoreDesign: The hardCoreDesign function from SSN updated to be compatible...

Description Usage Arguments Details Value

Description

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

Usage

1
2
hardCoreDesign(n, inhibition_region, replications = 1,
  rep.variable = "Time", rep.values)

Arguments

n

A numeric vector having length 1 or the same length as the number of networks. This represents the number of points to be spread across a network.

inhibition_region

A numeric vector having length 1 or the same length as the number of networks. This represents the size of the inhibition region on a network.

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

The output is not seen by the user.


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