Description Usage Arguments Value Examples
View source: R/stylest_term_influence.R
Compute the influence of terms
1 | stylest_term_influence(model, text, speaker)
|
model |
|
text |
Text vector. May be a |
speaker |
Vector of speaker labels. Should be the same length as
|
data.frame
with columns representing terms, their mean influence,
and their maximum influence
1 2 3 | data(novels_excerpts)
speaker_mod <- stylest_fit(novels_excerpts$text, novels_excerpts$author)
stylest_term_influence(speaker_mod, novels_excerpts$text, novels_excerpts$author)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.