conditional_probabilities {NetFACS} | R Documentation |
For all dyadic combinations that appear in the test dataset, this function returns the probability of A occurring (P(A)), the probability of B occurring (P(B)), the probability of A and B occurring simultaneously (P(AandB)) and, the probability of A given B (P(A|B)).
conditional_probabilities(netfacs.data)
netfacs.data |
An object of class |
A summary tibble
data(emotions_set)
angry.face <- netfacs(
data = emotions_set[[1]],
condition = emotions_set[[2]]$emotion,
test.condition = "anger",
ran.trials = 50,
combination.size = 2
)
conditional_probabilities(angry.face)