powered by
Minimum distance between any two points in the design
md(D)
a design matrix, rows are design locations, columns are design factors
number of pairs in the design achieve the minimum distance
# NOT RUN { #compute the minimum distance between any two points in design D d=md(D = cbind(c(0.875,0.375,0.125,0.625),c(0.375,0.125,0.625,0.875))) d$MinimumDistance d$number # }
Run the code above in your browser using DataLab