set.seed(2020)
t1 <- save_history(flea[, 1:6], guided_tour(holes()), max = 100)
attr(t1, "class") <- NULL
best_proj <- t1[, , dim(t1)[3]]
animate_xy(
flea[, 1:6],
guided_tour(holes(),
search_f = search_polish,
cur_index = 0
),
start = best_proj
)
Run the code above in your browser using DataLab