#' rSabali Guide: Sentiment
#'
#' Returns list of emotions in the sentiment analysis
#' @param activate Do you need help? Defaults to TRUE.
#' @keywords help
#' @export
#' @examples
#' sentiment.emotions()
sentiment.emotions <- function(activate = TRUE){
if(activate == TRUE){
sentiment.emotions <- data.frame("Emotions" = c("anger", "anticipation", "disgust", "fear", "joy", "sadness", "surprise", "trust", "negative", "positive"))
print(sentiment.emotions)
} else {
print("Cannot Access Guide")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.