Displaying 1 result from an estimated 1 matches for "v1v4dif".
Did you mean:
v1v2dif
2010 Sep 04
2
R code output issues
...mAnalysis/4_output")
data <- data.frame(alldata)
V1V2means <- with(data, tapply(V1V2, list(Pair, DR), mean))
V1V4means <- with(data, tapply(V1V4, list(Pair, DR), mean))
results.df <- data.frame(V1V2means, V1V4means, V1V2dif = V1V2means[, "R"] -
V1V2means[, "D"], V1V4dif = V1V4means[, "R"] - V1V4means[, "D"] )
data
SAMPLE OF INPUT DATA FILE
Pair DR V1V2 V1V4
1 D 63 277
1 D 63 277
1 D 63 277
.
Thoughts greatly appreciated.
Marcel
--
View this message in context: http://r.789695.n4.nabble.com/R-code-output...