[R] Survival graph and tables

2010-09-24 Thread adrien Penac
Hi, I'm trying to make such a graphic : http://heart.bmj.com/content/96/9/662/F1.large.jpg The curve plot is not a problem but I don't know how to represent the little table underneath with the number of survivors at given periods. Do you have any hints to achieve this ? Thanks in advance

[R] Extract a 'data.frame$column' column name

2010-05-03 Thread adrien Penac
Hello, I can't find how to get de column name from a data.frame dollar reference. To make it simple, I'd like to obtain Bar from a foo$Bar notation. I've tried col.names(foo$Bar), names(foo$Bar) and so on without sucess. Regards Blaise [[alternative HTML version deleted]]

[R] Re : Extract a 'data.frame$column' column name

2010-05-03 Thread adrien Penac
into a character string. On Mon, 3 May 2010, adrien Penac wrote: Hello, I can't find how to get de column name from a data.frame dollar reference. To make it simple, I'd like to obtain Bar from a foo$Bar notation. I've tried col.names(foo$Bar), names(foo$Bar) and so on without sucess. Regards