Prof Ripley referred you to the help pages for sort and order for the sorting
part of your question. For viewing large data objects look at View (note
capitol V), head, tail, page, and write.csv/write.table.
Hope this helps,
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain
Do you mean sort by the *names* of a *vector* alphabetically? (tot is a
vector)? In which case tot[sort.list(names(tot))]
If you want to sort new.matrix by its *colnames* of new.matrix,
new.matrix[, sort.list(colnames(new.matrix))]
See 'An Introduction to R' for the ideas involved, and the help
2 matches
Mail list logo