Re: [R] Naming dimnames in an array using the results of an expression

2012-05-23 Thread Dr Bob Phillips
eems to be some asymmetry in how you have the row and column > names -- is that intentional? > > You might be able to try something like this: > > dn <- list(c("LR","HR"), c("FALSE","TRUE")) > > names(dn) <- c("Rule",&q

[R] Naming dimnames in an array using the results of an expression

2012-05-22 Thread Dr Bob Phillips
])=colnames(diag.data)) this doesn't work i understand that the dimnames command is NOT executing the function 'names' and giving me the result of this, and have struggled and failed to use the 'eval' expression with alternative environments (which i don't understand