utils-grid2d | R Documentation |
Grid generator for bivariate distributions.
grid2d(x = (0:10)/10, y = x)
x, y |
two numeric vectors defining the |
grid2d
returns a list with two vectors named $x
and $y
spanning
the grid defined by the coordinate vectors x
and y
.
Diethelm Wuertz.
## grid2d -
# Create a square grid:
x <- seq(0, 10, length = 6)
X <- grid2d(x = x, y = x)
cbind(X$x, X$y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.