This question is very vague and does not have any specific code to further understand what you mean (reproducible example). It seems to me that you need to understand the data using descriptive statistics first. Functions such as summary
, head
, names
, levels
, sapply
and nlevels
(by column) can help you to begin understanding what you’re working with.
I’ve found this article that can help you start understanding: https://machinelearningmastery.com/descriptive-statistics-examples-with-r/
Once you have an idea of what your data looks like, try looking into this article to see the different types of analysis that exist and which fit best for your situation. Text mining is not a simple task but there are many techniques that can help you find your answers:
https://www.datacamp.com/community/tutorials/sentiment-analysis-R
I hope this helps a bit.
2
solved i want to calculate what emotions are impacting sentiments how can i do this in R?