Description Usage Arguments Value Author(s) Examples
View source: R/sentomeasures_methods.R
Extracts the sentiment measures data.table
in either wide (by default)
or long format.
1 2 |
x |
a |
keep.rownames |
see |
format |
a single |
... |
not used. |
The panel of sentiment measures under sento_measures[["measures"]]
,
in wide or long format.
Samuel Borms
1 2 3 4 5 6 7 8 9 10 | data("usnews", package = "sentometrics")
data("list_lexicons", package = "sentometrics")
data("list_valence_shifters", package = "sentometrics")
sm <- sento_measures(sento_corpus(corpusdf = usnews[1:200, ]),
sento_lexicons(list_lexicons["LM_en"]),
ctr_agg(lag = 3))
data.table::as.data.table(sm)
data.table::as.data.table(sm, format = "long")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.