MixSIAR
MixSIAR copied to clipboard
Plotting diet proportion vs length on combined sources?
Hi Brian,
I'm just wondering whether it's possible to plot the diet proportions vs a continuous variable after sources have been combined a posteriori? I've tried substituting the combined object from combine_sources in to the function plot_continuous_var (see below) to no avail as it's not a bugs object.
combined <- combine_sources(jags.1, mix, source.1, alpha.prior=1, groups=list(EAM=c("EAM", "EAM2"), ReefPlankton = c("RP", "RP2"))
plot_continuous_var(combined, mix, source, output_options)
The plot_intervals function works fine on the combined sources, but it would be great to have a way to plot the combined source groupings against the continuous variable.
Thanks! :)