search for: wrappeddatafram

Displaying 1 result from an estimated 1 matches for "wrappeddatafram".

Did you mean: wrappeddataframe
2007 Jan 24
1
how to properly extend s3 data.frames with s4 classes?
...n reported yet. Summary ------- (a) When extending a S3 data.frame with a S4 class adding a slot, it seems to be impossible to initialize objects of these "ExtendedDataframes" (XDF) with S3 data.frames. (b) Extending data.frames with an S4 class without a slot, i.e. creating a "WrappedDataframe" (WDF), seems to allow initialization with a data.frame, but the behaviour appears to be somewhat inconsistent. (c) Trying to be "smart" by extending the WrappedDataframe from (b) by adding a slot, yields a similar behaviour than (a), i.e. initialization with a WDF object fails...