microaggregation(x, variables=colnames(x),method = "pca", aggr = 3, weights=NULL, nc = 8, clustermethod = "clara", opt = FALSE, measure = "mean", trim = 0, varsort = 1, transf = "log", strata_variables=NULL)summary.micro, plotMicro, valTabledata(Tarragona)
m1 <- microaggregation(Tarragona, method="onedims", aggr=3)
## summary(m1)
data(testdata)
m2 <- microaggregation(testdata[1:100,c("expend","income","savings")], method="mdav", aggr=4)
summary(m2)Run the code above in your browser using DataLab