grid2: Cartesian coordinates generator

Description Usage Arguments Value Examples

View source: R/Misc.R

Description

This function creates a grid (more especifically, a 2-cell) of coordinates in R^2. Useful for plotting and generating data points with which to apply some functions.

Usage

1
grid2(a = 0, b = 100, c = 0.5)

Arguments

a

is the grid's lower bound. Defaults to 0.

b

is the grid's upper bound. Defaults to 100.

c

is the "by" parameter, the grid's density. Defaults to .5.

Value

Data Frame with a grid

Examples

1
grid2(a = 0, b = 10, c = .1)

Recon documentation built on July 30, 2019, 9:03 a.m.

Related to grid2 in Recon...