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.
- 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
- 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.