# Network Applications to Facial Communication Data

## Documentation for package ‘NetFACS’ version 0.3.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

calculate_prob_of_comb | Calculate probabilities of single elements and combinations occurring
define_contexts | Define truth for AUs active in different contexts
define_joint_prob | Joint probability distribution of AUs
distribution.plot | Plots the observed probability for an element against the distribution of the null model
element.plot | Plots the observed and expected probabilities for the basic elements based on the condition
element.specificity | Tests how much each element increases the specificity of all combinations it is in
emotions_set | Letter Data
entropy.overall | Compares the observed and expected information content of the dataset
event.size.plot | Plots the probability that a combination of a certain size appears
letternet | Letter Data
multiple.netfacs | Applies the netfacs function across multiple levels of the condition and puts them in a list
multiple.netfacs.network | Creates network objects out of the netfacs data
multiple.network.plot | Plots networks for multiple conditions
mutual.information | Calculates the pointwise mutual information of units with each other
mutual.information.condition | Tests how much each element increases the specificity of all combinations it is in
netfacs | Create probability distribution of combinations of elements in the data
netfacs.extract | Extract results of 'netfacs' function for specific combination sizes For the selected combination size, the function returns all combinations that had significantly higher probabilities of occuring than expected under the null condition
netfacs.network | Creates a network object out of the netfacs data
netfacs.reciprocity | Calculate reciprocity of probabilities that two elements appear together
network.conditional | Produce conditional probabilities of dyads of elements, and graph object based on conditional probabilities
network.plot | Plots a network object
network.summary | Returns all kinds of network measures for the netfacs network
network.summary.graph | Returns all kinds of graph-level network measures for the netfacs network
overlap.network | Plots the overlap of multiple conditions as bipartite network
prepare.netfacs | Take data that are not currently in format and turn them into the correct format for netfacs function
sample_contexts | Sample observations of simulated FACS data