has.imputed.data | R Documentation |
Check whether a BNDataset
object actually contains imputed data.
has.imputed.data(x)
## S4 method for signature 'BNDataset'
has.imputed.data(x)
x |
a |
has.raw.data
, raw.data
, imputed.data
## 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
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.