Skip to content
Prev 273765 / 398506 Next

function - access column

Ana
Thanks! It helps. I completely forgot about the colnames function

I added a "which(colnames(m)==n)" to my own function and now I can
access with no problem the column by the number instead of the name.




On Fri, Oct 7, 2011 at 5:09 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> <michael.weylandt at gmail.com> wrote: