You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use impute_rhd with distinct donor sets per missingness patters - but am stuck on this error message that I don't understand. I hope the reprex below helps, and would appreciate any advice how to work around this.
library(simputation)
iris_na<-mice::ampute(iris)
iris_na$amp|> impute_rhd(Sepal.Length+Sepal.Width~1, pool="multivariate")
#> Error in sample.int(length(x), size, replace, prob): incorrect number of probabilitiesx<-iris_na$amp|> impute_rhd(Sepal.Length+Sepal.Width~1)
I am trying to use impute_rhd with distinct donor sets per missingness patters - but am stuck on this error message that I don't understand. I hope the reprex below helps, and would appreciate any advice how to work around this.
Created on 2024-02-07 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: