Creates a uniform 2D grid over [0,1]^2 for function evaluation.
Value
List containing:
- x
Numeric vector of x coordinates
- y
Numeric vector of y coordinates
- grid
Data frame with all (x,y) coordinate pairs
Examples
grid <- create.grid(50)
str(grid)Creates a uniform 2D grid over [0,1]^2 for function evaluation.
List containing:
Numeric vector of x coordinates
Numeric vector of y coordinates
Data frame with all (x,y) coordinate pairs
grid <- create.grid(50)
str(grid)