distance_from_centroid: Compute the distance of each word to the centroid

Description Usage Arguments Value

View source: R/dictools.R

Description

Compute the distance of each word to the centroid

Usage

1
distance_from_centroid(ft_model, words)

Arguments

ft_model

a FastTextR model

words

a character vector of words

Value

a long-format tibble containing columns word and dist


vanatteveldt/lexpander documentation built on Jan. 21, 2022, 7:18 p.m.