element.plot {NetFACS} | R Documentation |
Plots the observed and expected probabilities for the basic elements based on the condition
Description
The function takes all single elements in a netfacs object, and plots the observed value and the expected value based on all randomisations
Usage
element.plot(netfacs.data)
Arguments
netfacs.data |
object resulting from netfacs() function |
Value
Function returns a ggplot showing for each element the observed probability and expected probability
Examples
### how do angry facial expressions differ from non-angry ones?
data(emotions_set)
angry.face <- netfacs(
data = emotions_set[[1]],
condition = emotions_set[[2]]$emotion,
test.condition = "anger",
ran.trials = 100,
combination.size = 2
)
# plot all
element.plot(netfacs.data = angry.face)
[Package NetFACS version 0.5.0 Index]