project_points | R Documentation |
Return a dataframe with two columns (same row order as the input) 'distance_along' : distance along the profile of the projections 'distance_to' : perpendicular distance to the profile of the points All input should be in cartesian coordinates with the same units
project_points(x, y, X1, Y1, X2, Y2, width = NULL, inc = NULL, value = NULL)
x |
X coordinates of the points to be projected (vector) |
y |
Y coordinates of the points to be projected (vector) |
X1 |
X coordinate of starting point defining the projection line |
Y1 |
Y coordinate of starting point defining the projection line |
X2 |
X coordinate of end point defining the projection line |
Y2 |
Y coordinate of end point defining the projection line |
width |
half width of the projection swath (optional) |
inc |
number of bins along the profile for the stats (optional) |
value |
parameter for which the statistics should be returned (optional, vector of same length and order as 'x' and 'y') |
A dataframe with the distance along and to the sections of the input points. If 'width', 'inc' and 'value' are supplied a dataframe containing the binned ('inc' bins) statistics of 'value' along the section is returned instead
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.