View source: R/centering_functions.R
center_scan | R Documentation |
The record often slightly moves while being fed into the scanner, which often results in unavoidable misalignment throughout the record. To ensure that any drift is from the TDR and not from scanning, centering the record is recommended as future recovery calculations assume that depth = 0 is the same as y = 0.
center_scan(trace, time_dots, center_along_y = 1.1)
trace |
data frame containing the xy positions of the dive trace |
time_dots |
data frame contains the xy positions of the timing dots |
center_along_y |
the horizontal line to center the timing dots along |
Centered trace data frame
## Not run:
# If you'd like to center the timing dots below the record
# along y = -0.9
center_scan(trace, time_dots, center_along_y = 0.9)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.