This is programming style, best practices type of question.

When converting a list to a data frame (eg to use in ggplot), what is "best"
way to store descriptive elements?

For example, a survfit object mostly maps to a data frame, but I would also
like to carry along the type, call, etc.

I'm inclined to make these attributes of the data frame.

Any better technique?


TIA,
Jim Porzak
TGN.com
San Francisco, CA
www.linkedin.com/in/jimporzak
use R! Group SF: www.meetup.com/R-Users/

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to