適用於不平衡數據集的aov。根據幫助...provides a wrapper to lm for fitting linear models to balanced or unbalanced experimental designs。但稍後它說aov is designed for balanced designs, and the results can be hard to interpr
我試圖運行具有響應變量p和3個固定因子的模型以獲得ANOVA。這是我的代碼看起來像: #run it as 3 fixed factor model
p1=c(37,38,37,41,41,40,41,42,41)
p2=c(42,41,43,42,42,42,43,42,43)
p3=c(30,31,31,31,31,31,29,30,28)
p4=c(42,43,42,43,43,43