dist_ham | R Documentation |
Calculate Hamming Distances
dist_ham(plans, ncores = 1)
plans |
A |
ncores |
Integer number of cores to use. Default is 1. |
matrix of plan distances
data(nh)
data(nh_m)
# For a single plan (distance is trivial, 0):
dist_ham(plans = nh$r_2020)
# Or many plans:
dist_ham(plans = nh_m[, 3:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.