Introspection using sentiment analysis

Sentimentanalyse in R

Ted Kwartler

Data Dude

qdap's polarity for subsetting corpora

library(qdap)
polarity(text.var, grouping.var = NULL)

comparison cloud polarity workflow

Sentimentanalyse in R

Comparing frequent words in Plutchik's Framework

wheel of emotions

whale

Sentimentanalyse in R

Where's Waldo? Where isn't Waldo?

x <- c("Nicole", "Nick", "Waldo")
grep("Waldo", x)
[1] 3
grepl("Waldo", x)
[1] FALSE FALSE  TRUE
!grepl("Waldo", x)
[1] TRUE  TRUE FALSE
Sentimentanalyse in R

Adding an "or" operator

x <- c("Nicole", "Nick", "Waldo")
grepl("Waldo|Nicole", x)
[1] TRUE FALSE  TRUE
!grepl("Waldo|Nicole", x)
[1] FALSE  TRUE FALSE
Sentimentanalyse in R

Stacked comparisons for polarity mixture

stacked bar

Sentimentanalyse in R

Let's practice!

Sentimentanalyse in R

Preparing Video For Download...