Test rotation invariance of index functions for selected 2-d data set.
profileRotation.Rd
Ideally a projection pursuit index should be roation invariant, we test this explicitly by profiling the index while rotating a distribution.
Examples
d <- as.matrix(sinData(2, 30))
#> New names:
#> • `` -> `...1`
#> • `` -> `...2`
indexList <- list(tourr::holes(), scagIndex("stringy"), mineIndexE("MIC"))
indexLabels <- c("holes", "stringy", "mic")
pRot <- profileRotation(d, indexList, indexLabels, n = 50)
plotRotation(pRot)