Learn R Programming

bnstruct (version 1.0.6)

has.raw.data: check if a BNDataset contains raw data.

Description

Check whether a BNDataset object actually contains raw data.

Usage

has.raw.data(x)

# S4 method for BNDataset has.raw.data(x)

Arguments

See Also

has.imputed.data, raw.data, imputed.data

Examples

Run this code
# NOT RUN {
x <- BNDataset()
has.raw.data(x) # FALSE

x <- read.dataset(x, "file.header", "file.data")
has.raw.data(x) # TRUE, since read.dataset() actually reads raw data.
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab