「ぎょーむ日誌」目次に戻る | KuboWeb top に戻る | twilog | atom

ぎょーむ日誌 2003-01-29

苦情・お叱りは, たいへんお手数かけて恐縮ですが, 久保 (kubo@ees.hokudai.ac.jp) までお知らせください.

2003 年 01 月 29 日 (水)

	obs <- scan("data.txt", sep = ",", list(x0 = 0, x1 = 0, y = 0))
	obs$x0 <- factor(obs$x0) # 名義変数に変換
	obs$x1 <- factor(obs$x1)
	model <- aov(y ~ x0 + x1, data = obs)
	summary(model) # 結果の表示
	model <- aov(y ~ x0 * x1 , data = obs)

KuboLog | KuboWeb