normalize_counts {pseudobibeR}R Documentation

Normalize to counts per 1,000 tokens

Description

Normalize to counts per 1,000 tokens

Usage

normalize_counts(counts)

Arguments

counts

Data frame with numeric columns for counts of token, with one row per document. Must include a tot_counts column with the total number of tokens per document.

Value

counts data frame with counts normalized to rate per 1,000 tokens, and tot_counts column removed


[Package pseudobibeR version 1.2 Index]