Closed andrewcparnell closed 1 year ago
I just spent hours trying to figure out why the raw data plot was not corresponded by the other plots... I suggest (at least) emending the tutorial "SIAR V4 (Stable Isotope Analysis in R) An Ecologist’s Guide" and any others, to clarify the need for the sequential order of the consumer groups. Best, Diego.
It seems that SIAR will run but produce incorrect results if you put the groups in the wrong order.
MRE:
These two will produce different results without an error or a warning.
I suggest adding a line beneath
numgroups <- max(data[, 1])
insiarmcmcdirichletv4
which says something like: