Learn R Programming

bnstruct (version 1.0)

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)
"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.
# ## End(Not run)

Run the code above in your browser using DataLab