impute | R Documentation |
BNDataset
raw data with missing values.Impute a BNDataset
raw data with missing values.
impute(object, k.impute = 10) ## S4 method for signature 'BNDataset' impute(object, k.impute = 10)
object |
the |
k.impute |
number of neighbours to be used; for discrete variables we use mode, for continuous variables the median value is instead taken. |
## Not run: dataset <- BNDataset("file.data", "file.header") dataset <- impute(dataset) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.