The goal of partition.benchmark
is to benchmark the partition
package. It contains four benchmarking functions: benchmark_kmeans()
,
benchmark_partition()
, benchmark_all()
, and benchmark_and_save()
.
The first two benchmark the functions directly, while the third
benchmarks both and returns a combined dataframe, and the fourth calls
benchmark_all()
and saves the data internally as benchmarks
.
You can plot them with plot_benchmarks()
. The default is to plot
benchmarks
, but you can use a different data set or filter
benchmarks
.
library(partition.benchmark)
plot_benchmarks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.