eval_grid | R Documentation |
Evaluate code (given as a character string) at gridded points on the (x, y) plane
eval_grid(code, xmin = 0, xmax = 1, xn = 10, ymin = xmin, ymax = xmax, yn = xn)
code |
A character string containing an R expression. |
xmin, xmax, xn |
grid dimensions along x-axis i.e. the minimum and maximum extents on the x axis, and the number of grid points to generate along this dimension |
ymin, ymax, yn |
grid dimensions along y-axis i.e. the minimum and maximum extents on the y axis, and the number of grid points to generate along this dimension. Defaults to same as x-axis |
data.frame of (x, y)
coordinates and the evaluated function at these
coordinates z
eval_grid("x + y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.