as.data.frame.SDEFSR_Dataset: S3 function to convert into a data.frame the SDEFSR dataset...

Description Usage Arguments Details Value

View source: R/exportedFunctions.R

Description

S3 function to convert into a data.frame the SDEFSR dataset

This function converts a SDEFSR_Dataset object into a data.frame

Usage

1
2
## S3 method for class 'SDEFSR_Dataset'
as.data.frame(x, ...)

Arguments

x

The SDEFSR_Dataset object to view

...

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)


SDEFSR documentation built on April 30, 2021, 9:10 a.m.