gen_meshgrid: Generates a mesh-grid

Description Usage Arguments Value Examples

Description

Generates the mesh-grid coordinates given the X-axis points x.axis and the Y-axis points y.axis.

Usage

1
gen_meshgrid(x.axis, y.axis)

Arguments

x.axis

a vector of X-axis points.

y.axis

a vector of Y-axis points.

Value

A 2 X N array of mesh-grid coordinates, where N is the number of points in the grid.

Examples

1
2
3
x.axis         <- seq(.01, 1., by = .01);
y.axis         <- seq(.005, 1., by = .005);
alphas         <- gen_meshgrid(x.axis, y.axis);

clintpgeorge/clda documentation built on May 13, 2019, 8 p.m.