# NOT RUN {
library(Anthropometry)
data(mtcars)
#data <- as.matrix(mtcars)
data <- mtcars
k <- 3
numRep <- 2
huge <- 200
preproc <- preprocessing(data, stand = TRUE, percAccomm = 1)
suppressWarnings(RNGversion("3.5.0"))
set.seed(2018)
res_ada <- do_ada(preproc$data, k, numRep, huge, FALSE, method = "adjbox")
str(res_ada)
res_ada1 <- do_ada(preproc$data, k, numRep, huge, FALSE,
vect_tol = c(0.95, 0.9, 0.85), alpha = 0.05,
outl_degree = c("outl_strong", "outl_semi_strong",
"outl_moderate"), method = "toler")
str(res_ada1)
res_ada2 <- do_ada(preproc$data, k, numRep, huge, TRUE, method = "adjbox", prob = 0.8)
str(res_ada2)
# }
Run the code above in your browser using DataLab