inst/tinytest/test_gh_issue_9.R

d <- data.frame(x=c(NA,'a','b'),stringsAsFactors = FALSE)
expect_silent(out <- impute_proxy(d,x ~ "w"))
expect_equal(out[1,1],"w")

Try the simputation package in your browser

Any scripts or data that you put into this service are public.

simputation documentation built on June 16, 2022, 5:10 p.m.