View source: R/create-transect.R
Create transects of user-defined length along an input line
1 2 3 4 5 6 7 8 9 10 | create_transect(
x,
transect_spacing = NULL,
length_left = if (all(!is.null(transect_spacing), is.numeric(transect_spacing)))
transect_spacing,
length_right = if (all(!is.null(transect_spacing), is.numeric(transect_spacing)))
transect_spacing,
reverse = FALSE,
...
)
|
x |
name of an object of class |
transect_spacing |
character or numeric. If numeric, represents
the spacing between transects in |
length_left |
numeric; length of transects to the right of the input line |
reverse |
logical; reverse orientation of
transects; default |
... |
other arguments passed to sf::st_read. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.