Displaying 1 result from an estimated 1 matches for "scoutrsm".
2013 Feb 23
2
assign index to colnames(matrix)
Hello, I’m trying to follow the syntax of a script from a journal website. In order to create a regression formula used later in the script, the regression matrix must have column names “X1”, “X2”, etc. I have tried to assign these column names to my matrix ScoutRSM.mat using a for loop, but I don’t know how to interpret the error message. Suggestions? Thanks, Paul
====================================================
====== instructions about dimnames(X)[[2]] = "X1","X2",... =======
====================================================...