DDDataSet-dash-class: Dataset class for Direct Dependence Graphs...

Description Details Slots Methods

Description

Dataset class for Direct Dependence Graphs

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.

Slots

name:

(character) a descriptive name of this dataset used as caption for graphs, etc

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

ciTest

signature(obj = "DDDataSet"): Do conditional independence test on DDDataSet

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


ddgraph documentation built on Nov. 17, 2017, 10:50 a.m.