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.
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.