ich habe folgenden Datensatz:
Code: Alles auswählen
dput(head(dat.ges,15))
structure(list(VP = c(11, 11, 11, 11, 11, 11, 11, 12, 12, 12,
12, 12, 12, 12, 13), Emotion = structure(c(4L, 6L, 7L, 3L, 2L,
1L, 5L, 4L, 6L, 7L, 3L, 2L, 1L, 5L, 4L), .Label = c("Anger",
"Disgust", "Fear", "Happy", "Neutral", "Sad", "Suprise"), class = "factor"),
EmotionScore = c(0.97, 0, 0, 0, 0, 0, 0, 0.97, 0, 0, 0, 0,
0.9, 0, 0), EmotionReal = c("Fear", "Fear", "Fear", "Fear",
"Fear", "Fear", "Fear", "Anger", "Anger", "Anger", "Anger",
"Anger", "Anger", "Anger", "Disgust")), .Names = c("VP",
"Emotion", "EmotionScore", "EmotionReal"), row.names = c(NA,
15L), class = "data.frame")
Code: Alles auswählen
> head(dat.ges,15)
VP Emotion EmotionScore EmotionReal
1 11 Happy 0.97 Fear
2 11 Sad 0.00 Fear
3 11 Suprise 0.00 Fear
4 11 Fear 0.00 Fear
5 11 Disgust 0.00 Fear
6 11 Anger 0.00 Fear
7 11 Neutral 0.00 Fear
8 12 Happy 0.97 Anger
9 12 Sad 0.00 Anger
10 12 Suprise 0.00 Anger
11 12 Fear 0.00 Anger
12 12 Disgust 0.00 Anger
13 12 Anger 0.90 Anger
14 12 Neutral 0.00 Anger
15 13 Happy 0.00 Disgust
Wäre super, wenn mir jemand weiterhelfen könnte!