Hi all, I know it seems simple but I am trying to copy a code and I don't know what is the problem with this command! msubsub=msub[,cn] the error I get is : error in '[.data.frame '(msub, ,cn) : undefined columns selected Thanks for any help, Elahe