brianstock / MixSIAR

A framework for Bayesian mixing models in R:
http://brianstock.github.io/MixSIAR/
90 stars 75 forks source link

Distance dependence tracer values of sources #381

Closed mason-linscott closed 3 months ago

mason-linscott commented 3 months ago

Hi MixSIAR team,

Is there a way to incorporate variation in sources that is a function of site attribute (i.e. site distance from a source where the source's tracer values change as function of distance)? The particular use case I am considering is how sea spray and distance from the ocean may alter meteoric 13C values (or water vapor) at a given site which can shift shell 13C values of land snails.

I considered just running each site individually with different source values for each site but that seems cumbersome.

Thank you for your time and I wish you all the best, Mason

brianstock commented 3 months ago

You can include a categorical/group variable on the sources in mixsiar, see the Deer example.

For anything more complicated you'll need to code your own model. For inspiration, see the neat extension of the Geese dataset in the Parnell et al. 2013 environmetrics paper.

On Mon, Jun 3, 2024, 9:57 PM mlinscott @.***> wrote:

Hi MixSIAR team,

Is there a way to incorporate variation in sources that is a function of site attribute (i.e. site distance from a source where the source's tracer values change as function of distance)? The particular use case I am considering is how sea spray and distance from the ocean may alter meteoric 13C values (or water vapor) at a given site which can shift shell 13C values of land snails.

I considered just running each site individually with different source values for each site but that seems cumbersome.

Thank you for your time and I wish you all the best, Mason

— Reply to this email directly, view it on GitHub https://github.com/brianstock/MixSIAR/issues/381, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHDA4253PW7ADORJ4XVGGDZFTDD5AVCNFSM6AAAAABIXE3L2CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTCOJSHA4TKOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mason-linscott commented 3 months ago

Thank you for your recommendations! I will let you know if I need any other help.