get_doc_metrics: Get the metrics for one of the documents

Description Usage Arguments Author(s)

View source: R/get_doc_metrics.R

Description

Extracts the nested columns for one of the documents.

Usage

1
get_doc_metrics(word_scores, doc, remove_zero_counts = TRUE)

Arguments

word_scores

Scores tibble from compare_vocabs().

doc

Name of document to retrieve metrics for.

remove_zero_counts

Whether to filter out words that were not in the document. (Logical)

Author(s)

Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk


LudvigOlsen/vocabular2 documentation built on Jan. 4, 2020, 4:15 p.m.