Closed jsalinas69 closed 1 year ago
Thanks, the wrong version of function addMissingValues was deployed. There is a line:df_name[[col_name]]
missing at the end. Thanks for this precious test!
solved. install/download the new release and the correct function is available.
Hi,
my_dataset$ii_2 <- addMissingValues(my_dataset, ii_1, pc = 10)
it gives me more than 10% of missing
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
De: Tomaz Kastrun @. Enviado el: jueves, 13 de julio de 2023 11:14 Para: tomaztk/datasetR @.> CC: jsalinas69 @.>; Author @.> Asunto: Re: [tomaztk/datasetR] Problems with addMissingValues (Issue #1)
solved. install/download the new release and the correct function is available.
— Reply to this email directly, view it on GitHub https://github.com/tomaztk/datasetR/issues/1#issuecomment-1634523937 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJXY4FBVVDINKXU43G53B2DXQANF5ANCNFSM6AAAAAA2JERXVU . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJXY4FFZ6SCWHVSW2CY7BT3XQANF5A5CNFSM6AAAAAA2JERXVWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTBNTNSC.gif Message ID: @. @.> >
The statement my_dataset$ii_1 <- addMissingValues(my_dataset, ii_1, pc = 10) returns the entire column with values missing NA