get_article_article_similarities: Compute similarity between an abstract and all other...

Description Usage Arguments Value Examples

View source: R/get_article_article_similarities.R

Description

Compute similarity between an abstract and all other abstracts

Usage

1
2
get_article_article_similarities(a_title, a_vectors = article_vectors,
  a_df = article_df)

Arguments

a_title

charcter, the title of an abstract

a_vectors

matrix, of semantic vectors for the abstracts (e.g., article_vectors)

a_df

dataframe, of abstract information (e.g., 'article_df“)

Value

dataframe, of abstract information with Similiarities to target abstract appended

Examples

1
2
an_article <- article_df[1,]$title
sims <- get_article_article_similarities(an_article, article_vectors, article_df)

CrumpLab/RsemanticLibrarian documentation built on Nov. 11, 2019, 1:04 p.m.