BNDataset to get only complete cases.BNDataset, return a copy of the original object where
the raw.data consists only in the observations that do not contain missing values.
complete(x, complete.vars = seq_len(num.variables(x)))
"complete"(x, complete.vars = seq_len(num.variables(x)))BNDataset.NAs.BNDataset containing only complete observations.
If present, imputed data and bootstrap samples are eliminated from the
new BNDataset, as using this method *after* using impute
or bootstrap, there may likely be a loss of correspondence between
the subsetted raw.data and the previously generated imputed.data
and bootstrap samples.