i <- onezero::pairwise_intersection(
data = onezero::FoodSample,
cols = Bisque:Ribeye,
weight = weight,
tidy = FALSE
)
u <- onezero::pairwise_union(
data = onezero::FoodSample,
cols = Bisque:Ribeye,
weight = weight,
tidy = FALSE
)
round(i / u, 3)
pairwise_jaccard(
data = onezero::FoodSample,
cols = Bisque:Chili,
weight = weight,
stat = "index"
)
onezero::pairwise_jaccard(
data = onezero::FoodSample,
cols = Bisque:Chili,
weight = weight,
stat = "index"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.