Re: [R] subsetting tables

2011-09-06 Thread netzwerkerin
Hi Eik, greetings to Hamburg! :-) Thanks for the fast and helpful answer Eik Vettorazzi-2 wrote: > > #compare > str(red[,2]) > str(red[2,]) > I understand that the first is a real vector of nums in R and the second is a ?? matrix/list/data.frame ?? of single ? entries? Can I transpose/transfo

Re: [R] subsetting tables

2011-09-06 Thread netzwerkerin
Hi Jannis, and thanks for the quick answer jannis-2 wrote: > > > which(red > 0.5) > > this works but what are the actual numbers that are spit out? Because the next step: jannis-2 wrote: > > > red[which(red > 0.5)] > does not work. It gives an Error in `[.data.frame`(tableReduced,

[R] subsetting tables

2011-09-06 Thread netzwerkerin
NA NA NA Obviously I'm doing something wrong, but what? Help very much appreciated. Netzwerkerin -- View this message in context: http://r.789695.n4.nabble.com/subsetting-tables-tp3793509p3793509.html Sent from the R help mailing lis