senti_matrix: Create a sentiment matrix

View source: R/senti_matrix.R

senti_matrixR Documentation

Create a sentiment matrix

Description

This function loads a vector or string and produces a sentiment matrix with 11 lexicon metrics: jockers-rinker, jockers, hu-liu, loughran-mcdonald, sentinet, sentiword, socal-google, nrc, bing, afinn, and meanr

Usage

senti_matrix(text_vector)

Arguments

text_vector

Choose character vector or string

Value

A trimmed character vector or string

Examples

senti_matrix("hunting is really bad I hate it")

GitTFJ/classecol documentation built on June 29, 2023, 11:20 a.m.