View source: R/conditional_probabilities.R
conditional_probabilities | 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
network_conditional
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.