tests/testthat/setup.R

library(mice)
imp <- mice(nhanes, print = FALSE, seed = 16117)
fit <- with(imp, lm(chl ~ age + hyp + bmi))

Try the RSquaredMI package in your browser

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

RSquaredMI documentation built on April 3, 2025, 6:19 p.m.