powered by
All Slater distances are returned as a vector. The valiues can be used e.g. to assess the distributions standard deviation.
quasiDistributionDistanceSlater(reps, nc, ne, range, prob = NULL, progress = TRUE)
Number of constructs (default 10).
Number of elements (default 15).
Minimal and maximal scale value (default c(1, 5)).
c(1, 5)
The probability of each rating value to occur. If NULL (default) the distribution is uniform.
NULL
Whether to show a progress bar.
Number of grids to be produced (default is 3).
3
A vector containing Slater distance values.
randomGrids; distanceSlater; distanceHartmann.
randomGrids
distanceSlater
distanceHartmann
# NOT RUN { vals <- quasiDistributionDistanceSlater(100, 10, 10, c(1,5), pro=T) vals sd(vals) hist(vals, breaks=50) # } # NOT RUN { # }
Run the code above in your browser using DataLab