For a set of observations with x,y locations on the line and a perpendicular distance, create a new observation dataframe with true x,y point locations.

1 | ```
create.points.by.offset(lines, observations)
``` |

`lines` |
- data frame of lines with the following structure label - unique label x0 - x coordinate of beginning of line y0 - y coordinate of beginning of line x1 - x coordinate of end of line y1 - y coordinate of end of line width - optional full width of each transect line is in center of transect ... - any number of covariates |

`observations` |
- data frame of observations with the following structure label - label linking it to a unique line x - x coordinate y - y coordinate distance- perpendicular distance; positive=right side; negative=left side ... - any number of covariates |

observations dataframe with true x,y locations

Jeff Laake

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.