DFI.unWrap {bsearchtools} | R Documentation |
Unwrap a DFI object returning the original wrapped object
Description
Extract the original wrapped object (data.frame or matrix) inside a DFI object
Usage
DFI.unWrap(DFIobj)
Arguments
DFIobj |
a DFI object |
Value
A data.frame or matrix according to the class of the original object
See Also
Examples
### create a simple DFIobj
DF <- data.frame(Foo=c(3,5,7,1,5,8,7,10),
Bar=c("A","B","B","C","B","B","C","A"),
Baz=c(TRUE,FALSE),
stringsAsFactors=FALSE)
DFIobj <- DFI(DF, c("Foo","Bar")) # create a DFI from DF with indexes on "Foo" and "Bar" columns
### get the inner data.frame
DFI.unWrap(DFIobj)
[Package bsearchtools version 0.0.61 Index]