On 4 Jan 2005 at 10:25, Derek Margetts wrote:
I have a question about changing rownames. In the
following function I am plotting the regression
coeficients with their corresponding mean. Right now,
the labels on the plot and the rownames in the
dataframe are x1,x2,x3...etc. Is there a
It is sometimes important to know that row.names accesses the row names of
a data frame, and rownames the first dimname of an array (including a
matrix). They are almost equivalent, but not quite (e.g. row.names is
generic and has methods for matrices and arrays).
So the example would
I have a question about changing rownames. In the
following function I am plotting the regression
coeficients with their corresponding mean. Right now,
the labels on the plot and the rownames in the
dataframe are x1,x2,x3...etc. Is there a way to make
the row names the same as the variable