shelltrace (version 3.5.1)

Oyster_phase_stats: Function that exports phase statistics

Description

Function that searches through the matrix of phases per pixel and exports the statistics of representation of different phases in the map as well as the bulk composition of pixels in the map. de Winter, N. J. (2017) <doi:10.5194/gmd-2017-137>

Usage

Oyster_phase_stats(phasemat, phases)

Arguments

phasemat

matrix of phases of each pixel sorted by X- and Y-coordinate of the pixel

phases

Matrix containing colour and trace element data of the phases in the XRF phase map

Value

phase_stat

matrix of statistics of trace elements and phases in the total map

Details

Phase statistics are calculated by looping through the matrix of phases created from the XRF phase map and comparing with the "phases" statistics table

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_phase_matrix_BMP"

Examples

Run this code
# NOT RUN {
  phase_stat<-Oyster_phase_stats(phasemat, O1_phase)
# }

Run the code above in your browser using DataLab