as.path | R Documentation |
This is a helper function to quickly make an interpolated list of locations between a number of locations
as.path(x, y, n = 10, path = TRUE)
x , y |
numeric vectors of x and y locations. If one of them is of length 1, if will be recycled. |
n |
number of points to interpolate to |
path |
either |
This function is mostly useful when combined with Interpolate
A list of components x
and y
with the list of locations and the path
arguments
Interpolate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.