[英]how to correct summary.factor error in stable isotope analysis in R
I wanted to analyse my stable isotope data using stable isotope analysis in R (SIAR). 我想使用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: 按照SIAR生态学家手册的建议,我收到了以下消息:
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? 您能告诉我如何从这里继续吗?
SIAR仅适用于数字组名,据我所记得,它们必须从1开始并在数据文件中按顺序运行。
我只是在R中使用SIAR遇到了类似的错误消息。我的问题是由于我的文件另存为.csv而它们需要保存在.txt中这一事实引起的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.