Erhan <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 
> Hi! I need to access all the strings used as indexes in an array.
> Can someone tell me how to do that?
> I'm not sure this is the right place to ask, but I couldn't find
> another group.

In R dataframe indices can be either row or column names. For column 
names use;

?names

  ... and for row names:

?row.names

For matrix-like objects (of which dataframes are an instance) see also:

?rownames
?colnames

-- 
David Winsemius

______________________________________________
R-help@r-project.org 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