Learn R Programming

SDEFSR (version 0.7.22)

as.data.frame.SDEFSR_Dataset: 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 SDEFSR_Dataset
as.data.frame(x, ...)

Arguments

x

The SDEFSR_Dataset object to view

...

Additional arguments passed to the as.data.frame function

Value

a data.frame with the dataset uncoded. Numeric attributes are "numeric" class, while categorical attributes are "factor"

@examples

as.data.frame(habermanTra)

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