conditional_probabilities {NetFACS} | R Documentation |
Summarise dyadic combination of elements
Description
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)).
Usage
conditional_probabilities(netfacs.data)
Arguments
netfacs.data |
An object of class |
Value
A summary tibble
See Also
Examples
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)
[Package NetFACS version 0.5.0 Index]