Re: [R] extract element from list by rownames

2011-04-12 Thread B77S
I'm thinking this isn't what you want.. but also: > data.frame((srMT[[3]][1]))[b,][2] filter.vel2 MK_SP10.2503257 SB1_SP1 0.2075117 SB4_SP1 0.2358855 B77S wrote: > > This probably is not ideal, but this works on a list of mine.. > > ## so you can see the structure of my l

Re: [R] extract element from list by rownames

2011-04-12 Thread B77S
This probably is not ideal, but this works on a list of mine.. ## so you can see the structure of my list > str(srMT) List of 4 $ mode : chr "discrete" $ ks.stat : chr "mean" $ observed :List of 4 ..$ filter: num [1:13, 1:4] 0.213 0.207 0.144 0.311 0.24 ... .. ..- attr(*, "dimnames