Description Usage Arguments Value Examples
View source: R/impute_missing_values.R
For type = 'mean' por 'median', the corresponding values for columns
are returned. For type = 'knn', impute::knn
is used.
1 2 3 4 5 |
x |
A numeric matrix - features are columns |
type |
One of c('mean', 'median', 'knn') |
... |
arguments passed to |
Imputed x
1 2 3 4 | impute_missing_values()
impute_missing_values(matrix(c(1,2,3, NA,
4,5,6, NA),
byrow = FALSE, ncol=2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.