[R] Please help.... i know its trivial
klaster at karlin.mff.cuni.cz
Tue Apr 17 08:08:42 CEST 2007
Patrick Callier napsal(a):
> rownames is the command you want, I think.
> rownames(A) <- seq(1:8)
Yes. More generally
rownames(A) <- 1:length(A[,1])
And keep in mind that nobody is going to help you next time, if you
won't give a clear and informative SUBJECT in your message. Here it
should have been something like 'wrong row names in subset' or
'dataframe subset question' etc, certainly not 'please help me, it's
Btw, there is something like the posting guide for this list (see footer).
Dept. of Probability and Statistics
Charles University in Prague
More information about the R-help