Learn R Programming

mcMST (version 1.0.1)

coordGenerators: Coordinate generators.

Description

Functions for the placement of node coordinates in the euclidean plane. Function coordLHS generates a space-filling latin hypercube sample, coordUniform samples points from a bivariate uniform distribution and coordGrid generates a regular grid of points.

Usage

coordLHS(n, lower = 0, upper = 1, method = NULL)

coordUniform(n, lower, upper)

coordGrid(n, lower, upper)

Value

[matrix(n, 2)] Matrix of node coordinates.

Arguments

n

[integer(1)]
Number of points to generate.

lower

[numeric(2)]
Minimal values for the first and second coordinates respectively. Default is 0.

upper

[numeric(2)]
Maximal values for the first and second coordinates respectively. Default is 1.

method

[function]
Function from package lhs. Default is maximinLHS.