[英]Error in Summary.factor ‘min’ not meaningful for factors!! How can I eliminate this error?
[英]how to correct summary.factor error in stable isotope analysis in R
我想使用R(SIAR)中的穩定同位素分析來分析我的穩定同位素數據。 使用命令運行模型時:
model1 <- siarmcmcdirichletv4(data, sources, tef, concdep=0, 500000, 50000)
按照SIAR生態學家手冊的建議,我收到了以下消息:
Error in Summary.factor(c(1L, 1L, 2L, 2L, 6L, 6L, 7L, 7L, 3L, 3L, 4L, : max not meaningful for factors.
您能告訴我如何從這里繼續嗎?
SIAR僅適用於數字組名,據我所記得,它們必須從1開始並在數據文件中按順序運行。
我只是在R中使用SIAR遇到了類似的錯誤消息。我的問題是由於我的文件另存為.csv而它們需要保存在.txt中這一事實引起的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.