Description Details Slots Methods
Dataset class for Direct Dependence Graphs
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.
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)
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.