search for: madness_

Displaying 1 result from an estimated 1 matches for "madness_".

Did you mean: madness
2008 Jan 04
3
slow access to matrix dimnames
hello, i have been trying to convert my data frames to matrices in the hopes of speeding up some of my more complicated scripts. to assist with this, i am trying to create a "matrix column operator" like $: "%$%" = function(data,field) { as.numeric(data[,grep(field,unlist(dimnames(data)[2]))]) } the idea here is that you can use a matrix like a dataframe: