Hello,

Is there a better way to use paste such as:

a = paste(colnames(list.indep)[1],colnames(list.indep)[2],colnames(list.indep)[3],colnames(list.indep)[4],colnames(list.indep)[5],sep="+")



> a

[1] "aa+dummy1+dummy2+bb+cc"



I tried



a = paste(colnames(list.indep)[1:5],sep="+")



> a

[1] "aa" "dummy1"             "dummy2"              "bb"                   "cc"

But it will not give me the way I want.

Thanks,

Rebecca


----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:5}}

