Skip to content
Prev 65744 / 398513 Next

Ploting a function of two arguments

There are at least two options:

1. Use outer(); e.g., something like z <- outer(x, y, f).

2. Use expand.grid(x, y), then call f() with the output.

Andy