Oyster_phase_stats {shelltrace}R Documentation

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

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

Value

phase_stat

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

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.

See Also

"Oyster_phase_matrix_BMP"

Examples

  phase_stat<-Oyster_phase_stats(phasemat, O1_phase)

[Package shelltrace version 3.5.1 Index]