if(requireNamespace("pcaL1", quietly = TRUE)) {
dat <- loadDataSet("Iris")
emb <- embed(dat, "PCA_L1")
plot(emb, type = "2vars")
plot(inverse(emb, getData(getDimRedData((emb)))), type = "3vars")
}
Run the code above in your browser using DataLab