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 
trivial'...

Btw, there is something like the posting guide for this list (see footer).

Petr

-- 
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to