search for: kog_id

Displaying 2 results from an estimated 2 matches for "kog_id".

Did you mean: log_id
2010 Oct 13
2
adding a named column to a Matrix
Hello all, I am trying to use cbind to add a named empty column to a Matrix: outputmatrix <- cbind(outputmatrix,kog_id = seq(0,0,0)) The problem I have is that kog_id is a variable that has a value e.g. "KOG1234", but I when I try to use this to name the added column, it is named literally "kog_id" instead of "KOG1234". How can I name a column by passing in a variable for the column...
2010 Oct 15
0
nomianl response model
....org Subject: [R] adding a named column to a Matrix Message-ID: <AANLkTikF1d=sd+Nve7GM_NRN0_=9GWTtZQx82CSYd-ct at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hello all, I am trying to use cbind to add a named empty column to a Matrix: outputmatrix <- cbind(outputmatrix,kog_id = seq(0,0,0)) The problem I have is that kog_id is a variable that has a value e.g. "KOG1234", but I when I try to use this to name the added column, it is named literally "kog_id" instead of "KOG1234". How can I name a column by passing in a variable for the column...