I wanted to analyse my stable isotope data using stable isotope analysis in R (SIAR). When running the model using the command:
model1 <- siarmcmcdirichletv4(data, sources, tef, concdep=0, 500000, 50000)
as advised in the SIAR Manual for Ecologists, I got this message:
Error in Summary.factor(c(1L, 1L, 2L, 2L, 6L, 6L, 7L, 7L, 3L, 3L, 4L, : max not meaningful for factors.
Can you please advise me how to proceed from here?