Learn R Programming

netgen (version 1.3.2)

generateGridNetwork: Generates a grid network.

Description

Generates a grid network.

Usage

generateGridNetwork(n.points.per.dim = NULL, n.dim = 2L, lower = 0,
  upper = 100, name = NULL)

Arguments

n.points.per.dim

[integer(1)] Number of points in each dimension.

n.dim

[integer(1)] Number of dimensions. Default ist 2.

lower

[numeric(1)] Lower box constaint for cube. Default is 0.

upper

[numeric(1)] Upper box constaint for cube. Default is 100.

name

[character(1) | NULL] Optional name for the generated network. Default is NULL. In this case a random name is generated.

Value

[Network]

Examples

Run this code
# NOT RUN {
x = generateGridNetwork(n.points.per.dim = 10L, upper = 50)
# }

Run the code above in your browser using DataLab