Learn R Programming

VBmix (version 0.3.2)

gridGen:

Description

generates a matrix valued with a regular grid of 2D coordinates.

Usage

gridGen(xlim = c(-10, 10), ylim = c(-10, 10), step = 50)

Arguments

xlim
x bounds.
ylim
y bounds.
step
size of the square matrix.

Value

'grid' matrix

Examples

Run this code
temp <- gridGen()

Run the code above in your browser using DataLab