shelltrace (version 3.5.1)

Oyster_subincr_area: Formula that calculates area between sub-increments

Description

Formula that calculates cross section area between each sub-increment and the previous sub-increment. de Winter, N. J. (2017) <doi:10.5194/gmd-2017-137>

Usage

Oyster_subincr_area(IncG, subincr_matrix, Xstep)

Arguments

IncG

Matrix of X- and Y-coordinates of all interpolated sub-increments

subincr_matrix

Data frame that contains characteristics of every sub-increment

Xstep

Step value in X-direction for the interpolation of sub-increments

Value

subincr_matrix

Revised version of the "incr_matrix" data frame that contains cross section area recalculated for every sub-increment

Details

Areas between sub-increments are calculated by averaging the difference in Y-values between sub-increments and multiplying them with the step in X-values (dx)

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.

See Also

"Oyster_Shell_length"

Examples

Run this code
# NOT RUN {
  subincr_matrix1<-Oyster_subincr_area(IncG, subincr_matrix0, Xstep=1)
# }

Run the code above in your browser using DataLab