[Rd] matrix name

From: mel <mel_at_altk.com>
Date: Sat, 09 Aug 2008 18:34:09 +0200


Presently, we are able to add additionnal info to a matrix thanks to the nice comment() and attr() functions. Maybe I miss some other functions ?

Since there is a always a little remaining place on the top left when one print a matrix,
I was wondering if it won't be interesting to offer the possibility to show some information here,

I'm thinking on something like :

> attr(M, 'topleft') = 'city\prms';
> M

city\prms      a    b    c
seattle        1    3    5
vancouver      2    4    6

I don't know if it's easily feasible and even if it seems interesting enough ... so sorry if it is a silly idea.

All the best

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 09 Aug 2008 - 16:38:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Aug 2008 - 21:36:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive