Description Usage Arguments Value
Benchmark partition()
and kmeans_icc()
using multiple sample sizes and
methods
1 2 3 4 5 | benchmark_partition(n = c(10, 100, 1000), pct.var = 0.8, method = "ICC",
dist.type = "p", unit = "ms", times = 100L)
benchmark_kmeans(n = c(10, 100, 1000), threshold.icc = 0.4, ...,
unit = "ms", times = 100L)
|
n |
a vector of sample sizes to simulate for benchmarking. Default is to test 10, 100, and 1000. |
pct.var |
see partition::partition |
method |
see partition::partition |
dist.type |
see partition::partition |
unit |
what unit of time? Default is "ms" for milliseconds. See microbenchmark::microbenchmark |
times |
number of benchmarks to run in |
threshold.icc |
see partition::kmeans_icc |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.