View source: R/distance.R View source: R/dev-functions.r
quasiDistributionDistanceSlater | R Documentation |
All Slater distances are returned as a vector. The values can be used e.g. to assess the distributions standard deviation.
quasiDistributionDistanceSlater(
reps,
nc,
ne,
range,
prob = NULL,
progress = TRUE
)
reps |
Number of grids to be produced (default is |
nc |
Number of constructs (default 10). |
ne |
Number of elements (default 15). |
range |
Minimal and maximal scale value (default |
prob |
The probability of each rating value to occur.
If |
progress |
Whether to show a progress bar. |
A vector containing Slater distance values.
randomGrids()
;
distanceSlater()
;
distanceHartmann()
.
## Not run:
vals <- quasiDistributionDistanceSlater(100, 10, 10, c(1, 5), pro = T)
vals
sd(vals)
hist(vals, breaks = 50)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.