[R] Converting a data frame to matrix

hadley wickham h.wickham at gmail.com
Fri Mar 28 13:14:17 CET 2008


>  > Is there any other way I can do this.
>  >
>  > say row names are city schools
>  > colnames  are student names
>  >
>  Hi Adrian,
>  Have you looked at color2d.matplot in the plotrix package?
>
>  Jim

You might also want to check out the seriation package, which provides
tools to reorder your matrix to better reveal any patterns in the
data.

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list