[R] How to convert S4 class slots into data.frame or how to assign variables of type 'Date'

2008-11-20 Thread Ronny Wölbing
Hi, I created a class (S4) with some slots like value, date, description (it's actually a financial transaction class). Now I need a method to convert this class forth and back into a single row data.frame, where every slots represents a column. This method looks at the moment like this:

Re: [R] How to convert S4 class slots into data.frame or how to assign variables of type 'Date'

2008-11-21 Thread Ronny Wölbing
Hi, I created a class (S4) with some slots like value, date, description (it's actually a financial transaction class). Now I need a method to convert this class forth and back into a single row data.frame, where every slots represents a column. This method looks at the moment like th

Re: [R] How to convert S4 class slots into data.frame or how to assign variables of type 'Date'

2008-11-21 Thread Mark Lyman
> > Hi, > > > > I created a class (S4) with some slots like value, date, description > > (it's actually a financial transaction class). Now I need a method > > to convert this class forth and back into a single row data.frame, > > where every slots represents a column. This method looks at t