search for: extendeddatafram

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

Did you mean: extendeddataframe
2007 Jan 24
1
how to properly extend s3 data.frames with s4 classes?
...that S4 in R is not 100% the book and that there are issues especially with dataframes, but to my knowledge the following has not been 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 extendi...