# Network Applications to Facial Communication Data

## Documentation for package ‘NetFACS’ version 0.5.0

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

## Help Pages

add_inactive_single_units | Add inactive (missing) single units
calculate_combination_size | Calculate combination size
conditional_probabilities | Summarise dyadic combination of elements
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 | (Defunct) Tests how much each element increases the specificity of all combinations it is in
emotions_set | Letter Data
entropy.overall | (Deprecated) Calculate information content of the dataset
entropy_overall | Calculate information content of the dataset
equal_observations | Check that ALL objects have the same number of observations
event.size.plot | Plots the probability that a combination of a certain size appears
event_size_plot | Plots the probability that a combination of a certain size appears
get_active_elements | Extract active elements from matrix
get_data | Extract used data from a 'netfacs' object
is.netfacs | Checks if argument is a 'netfacs' object
is.netfacs_multiple | Checks if argument is a 'netfacs_multiple' object
is.netfacs_specificity | Checks if argument is a 'netfacs_specificity' object
letternet | Letter Data
multiple.netfacs | (Deprecated) 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
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 from a netfacs object
netfacs.network | Creates a network object out of the netfacs data
netfacs.reciprocity | Calculate reciprocity of probabilities that two elements appear together
netfacs_bootstrap | Calculate expected probability from single bootstrap
netfacs_extract | Extract results from a netfacs object
netfacs_multiple | Applies the 'netfacs' function across multiple levels of the condition and puts them in a list
netfacs_network | Creates a network object out of the netfacs data
netfacs_randomize | Calculate probabilities from single randomization
network.conditional | (Deprecated) 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
network_conditional | Create a network based on conditional probabilities of dyads of elements
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 | (Deprecated) Plots the overlap of multiple conditions as bipartite network.
overlap_network | Plots the overlap of multiple conditions as bipartite network
possible_combinations | Calculate all possible combinations of elements
prepare.netfacs | Take data that are not currently in format and turn them into the correct format for netfacs function
print.netfacs | Print method for objects of class 'netfacs'
print.netfacs_multiple | Print method for objects of class 'netfacs_multiple'
probability_of_combination | Calculate probabilities of single elements and combinations occurring
probability_of_event_size | Count number of event sizes
sim_facs | Simulate FACS data
specificity | Specificity
specificity_increase | Tests how much each element increases the specificity of all combinations it is in
summarise_combination | Summarise combination results from bootstrap
summarise_event_size | Summarise event size probabilities
upsample | Up sample
validate_condition | Check that condition arguments are formatted correctly
validate_data | Check that 'data' argument is formatted correctly