This function is deprecated and will be removed in a future version. Use
cor(design$design) to calculate the correlation of a design.
cor(x, ...)A matrix with correlations
For an object of class 'spdesign', the function calculates the correlation
of the design. For any other object, it calls cor, so
that it does not mask the function from stats.