Oyster_Convert_cross_section {shelltrace} | R Documentation |
Function that converts XY-data of digitized cross section
Description
Takes XY data of digitized growth increments in a shell cross section and converts them to a common X-axis with the correct lengths in millimeters. de Winter, N. J. (2017) <doi:10.5194/gmd-2017-137>
Usage
Oyster_Convert_cross_section(raw_data, image_length, Xstep = 0.1)
Arguments
raw_data |
Numeric data frame containing the X- and Y-coordinates digitized in Adobe Illustrator or another image processing software |
image_length |
Measured maximum length of the area of the cross section that is represented in "raw_data" |
Xstep |
The step size (dx) in X-direction used to interpolate coordinates of shell increments |
Details
First step in growth modelling: Converting XY data of increments to a common X-axis
Value
List of two data sets and one value:
cross_section |
Digitized cross section of the shell with shell top, bottom and growth increments relative to a common X-axis |
year_trace |
Digitized cross section of shell increments without addition of top and bottom of the shell to the increment Y-values |
lengthfactor |
Factor of actual shell length relative to shell length in cross section |
incr_matrix |
Matrix containing ages and calibrated ages for each shell increment |
Note
Please cite Geoscientific Model Development paper dealing with the ShellTrace model
Author(s)
Niels J. de Winter
Source
GitHub
Manuscript
Supplementary data
Author website
References
de Winter, N. J.: ShellTrace v1.0 - A new approach for modelling growth and trace element uptake in marine bivalve shells: Model verification on pacific oyster shells (Crassostrea gigas), Geosci. Model Dev. Discuss., https:\doi.org\10.5194\gmd-2017-137, in review, 2017.
Examples
Llist<-Oyster_Convert_cross_section(O1_input, image_length, Xstep=1)