# NOT RUN {
## load the data
data(housing, package = "randomForestSRC")
## the original data contains lots of missing data
## here's a fast but reasonably accurate way to impute the data
housing2 <- impute(data = housing, mf.q = .5, fast = TRUE)
## even faster, but potentially less acurate
housing3 <- impute(SalePrice~., housing, splitrule = "random", nimpute = 1)
# }
Run the code above in your browser using DataLab