[R] How can I use event.chart (Hmisc) to work with a single row of data?

George Chen glchen at stanford.edu
Wed Sep 30 22:08:01 CEST 2009


Hi Everyone,

I would like to use event.chart to make an event chart based on a single row of data.  It works fine for 2 or more rows, but when I set subset.r to 1 row or use a one row data.frame as the data, I get a dimensional error.

Does anyone know a work around or a solution?

Thanks,

George Chen




More information about the R-help mailing list