.transform_todepth | R Documentation |
Transform the y-axis from position to depth in meters using a known maximum depth.
.transform_todepth(trace, max_depth)
trace |
tidy trace data frame after arc removal, contains the x and y values of the trace. |
max_depth |
maximum depth of trace in meters. |
trace data frame with depth in meters.
## Not run:
trace <- .trace(trace, max_depth = 317)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.