View source: R/matrixFunctions.R
nearest_to | R Documentation |
This a wrapper around closest_to, included for back-compatibility. Use closest_to for new applications.
nearest_to(...)
... |
See 'closest_to' |
a names vector of cosine similarities. See 'nearest_to' for more details.
# Recommended usage in 1.0: nearest_to(demo_vectors, demo_vectors[["good"]]) # Recommended usage in 2.0: demo_vectors %>% closest_to("good")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.