Problems with addMissingValues()
Closed this issue · 2 comments
jsalinas69 commented
Thanks, but when I test this statement
library(DataExplorer)
iris$Sepal.Length2 <- addMissingValues(iris, Sepal.Length, pc = 10)
plot_missing(iris)
it gives me more than 40% data lost
Thanks
tomaztk commented
Great find! With low dispersed data the percentage does not work, because it takes the values itself. I will rewrite the selected based on the positions of values in vector. I have done only a test on high volumes of data and high dispersity (spread).
tomaztk commented
Fixed. New release available.