MixSIAR icon indicating copy to clipboard operation
MixSIAR copied to clipboard

Plotting diet proportion vs length on combined sources?

Open TeenaSkinner opened this issue 5 years ago • 0 comments

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! :)

TeenaSkinner avatar Jun 19 '19 11:06 TeenaSkinner