Description Usage Arguments Details Value Author(s) Examples
evaluates a bivariate function in a list with the function name and named parameters.
1 | evalFunc2D(f, x, y, p = 1)
|
f |
A list with the function name and named parameters. See examples. |
x |
Independent variable. |
y |
Vector where |
p |
Non-negative integer. The index where the name ( |
x and y go to the first and second input parameter of the function f
.
If is a list, the evaluation of f
at points x,y
. If f
is not a list, the result is the input f
.
Francisco Mendoza-Torres (mentofran@gmail.com)
1 2 | ss <- function(x, y, m = 5) {m * x + y}
evalFunc2D(f = list(f = "outer", FUN = "ss", m = 10), x = 1:4, y = 6:7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.