Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
r では、双方向 ANOVA (各組み合わせの平均) によって得られたさまざまなグループの平均を取得するにはどうすればよいですか?
1つの可能性:
m1 <- lm(y~f1*f2,data=d) predict(m1,newdata=with(d,expand.grid(f1=levels(f1),f2=levels(f2)))
これにはコマンドがあります。あなたのモデルがm.
m
model.tables(m, type = 'means')