Displaying 1 result from an estimated 1 matches for "mc_mdd".
Did you mean:
mc_cmd
2012 Dec 13
1
How do I make a loop to extract a column from multiple lists and then bind them together to make a new matrix?
...0.
This is how I can create the mean matrix by hand. “MDD.mean.s10” is the
matrix I want in the end. (notice the first bracket after $results is the
only part that changes 1-10 (to represent the 10 items) and the last
bracket is [,7] to represent the mean located in column 7)
> m.1a <- MC_MDD.noNA$results[[1]][[2]][,7]
> m.2b <- MC_MDD.noNA$results[[2]][[2]][,7]
> m.3c <- MC_MDD.noNA$results[[3]][[2]][,7]
> m.4d <- MC_MDD.noNA$results[[4]][[2]][,7]
> m.5e <- MC_MDD.noNA$results[[5]][[2]][,7]
> m.6f <- MC_MDD.noNA$results[[6]][[2]][,7]
> m.7g...