as.data.frame.SDEFSR_Dataset {SDEFSR} | R Documentation |
S3 function to convert into a data.frame the SDEFSR dataset This function converts a SDEFSR_Dataset object into a data.frame
Description
S3 function to convert into a data.frame the SDEFSR dataset
This function converts a SDEFSR_Dataset object into a data.frame
Usage
## S3 method for class 'SDEFSR_Dataset'
as.data.frame(x, ...)
Arguments
x |
The |
... |
Additional arguments passed to the as.data.frame function |
Details
Internally, a SDEFSR_Dataset
object has a list of of examples
and this examples are coded numerically. This function decode these examples and convert the list into a data.frame
Value
a data.frame with the dataset uncoded. Numeric attributes are "numeric" class, while categorical attributes are "factor"
@examples
as.data.frame(habermanTra)
[Package SDEFSR version 0.7.22 Index]