多因素无效的ANOVA

时间:2017-03-17 13:41:37

标签: r anova

我正在尝试使用深度和采样日期的多个因素来分析我的数据。使用的代码和生成的级别如下所示。

date <- factor(Amount_allSampling_Depth$date)
depth <- factor(Amount_allSampling_Depth$depth)
depth_date <- date:depth
levels(depth_date)
[1] "2016-08-08:5"  "2016-08-08:10" "2016-08-08:15" "2016-08-08:20" "2016-08-15:5" 
[6] "2016-08-15:10" "2016-08-15:15" "2016-08-15:20" "2016-08-22:5"  "2016-08-22:10"
[11] "2016-08-22:15" "2016-08-22:20" "2016-08-29:5"  "2016-08-29:10" "2016-08-29:15"
[16] "2016-08-29:20" "2016-09-05:5"  "2016-09-05:10" "2016-09-05:15" "2016-09-05:20"
[21] "2016-09-12:5"  "2016-09-12:10" "2016-09-12:15" "2016-09-12:20" "2016-09-19:5" 
[26] "2016-09-19:10" "2016-09-19:15" "2016-09-19:20" "2016-10-03:5"  "2016-10-03:10"
[31] "2016-10-03:15" "2016-10-03:20" "2016-10-10:5"  "2016-10-10:10" "2016-10-10:15"
[36] "2016-10-10:20" "2016-10-17:5"  "2016-10-17:10" "2016-10-17:15" "2016-10-17:20"
[41] "2016-10-24:5"  "2016-10-24:10" "2016-10-24:15" "2016-10-24:20"

当我尝试对我的数据类进行ANOVA时。甲藻。

Dinoflagellates <- Amount_allSampling_Depth$Dinoflagellates 
anova(lm(Dinoflagellates~depth_date))

我收到了警告信息:

  

ANOVA基本上完美拟合的F检验是不可靠的。

有人可以帮助了解我如何使其工作,以便我可以进行多因素分析吗?

0 个答案:

没有答案