Skip to content
Prev 12268 / 398502 Next

accessing a table

On Tue, 10 Jul 2001, Greg Trafton wrote:

            
currenttable[match("bar",dimnames(currenttable)[[1]]),
             match("foo",dimnames(currenttable)[[2]])]


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._