DDDataSet-class: Dataset class for Direct Dependence Graphs...
Description
Dataset class for Direct Dependence GraphsSlots
data
:- (
data.frame
) data.frame containing the variables as columns, and the special column "class" as last column
dataType
:- (
character
) either "binary" or "continuous" are supported, indicated the type of variables present
(all need to be either binary or continuous)
Methods
rawData
signature(obj = "DDDataSet")
: Return the raw data frame with the variables, and the last column being "class"
dataType
signature(obj = "DDDataSet")
: Return the data type ("binary" or "continuous")
datasetName
signature(obj = "DDDataSet")
: Dataset name
names
signature(x = "DDDataSet")
: Names of variables (including "class")
variableNames
signature(obj = "DDDataSet")
: Names of variables (without "class")
$
signature(x = "DDDataSet")
: access a specific variable in the dataset by name
[[
signature(x = "DDDataSet")
: access a specific variable in the dataset by name
[
signature(x = "DDDataSet", i = "ANY", j = "ANY")
: access a specific variable in the dataset by name
initialize
signature(.Object = "DDDataSet")
: Construct new DDDataSet object
show
signature(object = "DDDataSet")
: show method for DDDataSet
Details
This is the main class to hold data to be used in Direct Dependence Graphs. The data is stored in a data
data.frame with the last column named "class". Dataset can be either binary, or continuous. Mixtures of
binary and continuous variables are currently not supported.