par_grid | R Documentation |
This function creates a grid, where x are the row-names, y are the column names and the grid-values are the function values at (x,y).
par_grid(x, y, func, ...)
x |
vector of x-values |
y |
vector of y-values |
func |
function to create grid values |
... |
optional: arguments of func |
length(x) x length(y) - matrix with function values evaluated at (x,y)
par_grid(seq(0, 1, 10), seq(0, 1, 11), sum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.