Parametrizes the piecewise linear trace given by the input. For vertical lines, $Inf$ is returned.

1 |

`x` |
and 'y' are the x-coordinates and y-coordinates of the input trace, given as separate vectors 'x' and 'y', or as a list or matrix 'x' holding both the x-coordinates and the y-coordinates, or if y==NULL 'x' is interpreted as 'y' and x=seq_along(x). |

`ang.out` |
is TRUE if angles are to be returned instead of slope. |

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.