Visualizes multivariate functions around a point or along a line between
two points in `R^n`

.

1 2 3 4 |

`fn` |
multivariate function to be visualized. |

`x0,x1,x2` |
points in n-dimensional space. |

`nlines` |
number of lines to plot. |

`npoints` |
number of points used to plot a line. |

`scaled` |
scale factor to extend the line(s). |

`fminviz`

vizualizes the behavior of a multivariate function `fn`

around a point `x0`

. It randomly selects `nlines`

lines through
`x0`

in `R^n`

and draws the curves of the function along these
lines in one graph.

Curves that have at least one point below `fn(x0)`

are drawn in red,
all others in blue. The scale on the x-axis is the Euclidean distance in
`R^n`

. The `scale`

factor can change it.

`flineviz`

vizualizes the behavior of a multivariate function `fn`

along the straight line between the points `x1`

and `x2`

. Points
`x1`

and `x2`

are also plotted.

Plots a line graph and returns `NULL`

(invisibly).

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.