term_influence: Internal stylest2 function to return the influence of each...

View source: R/stylest2_predict.R

term_influenceR Documentation

Internal stylest2 function to return the influence of each term in predicting authorship.

Description

Internal stylest2 function to return the influence of each term in predicting authorship.

Usage

term_influence(pred_docs_dfm, eta_tv, model)

Arguments

pred_docs_dfm

A document-feature matrix for the texts to be predicted.

eta_tv

The author-level term weights from a stylest2 model.

model

A stylest2 model.


stylest2 documentation built on May 29, 2024, 1:50 a.m.