# NOT RUN {
x <- BNDataset()
has.imputed.data(x) # FALSE
x <- read.dataset(x, "file.header", "file.data")
has.imputed.data(x) # FALSE, since read.dataset() actually reads raw data.
x <- impute(x)
has.imputed.data(x) # TRUE
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab