I would like to do Multidimensional Scaling (MDS) using cmdscale()
in R. I have read that it is useful to try out how many dimensions are suitable for the data by trying different values of k, and then seeing what proportion of variance is accounted for in the MDS result by looking at the R-square value. R-square values smaller than 0.6 are generally found to be acceptable for a good fit between the data and the number of dimensions.
However, how do I calculate R-square from an MDS generated by cmdscale()
?