NetFACS0.5.0 package

Network Applications to Facial Communication Data

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...

element.plot

Plots the observed and expected probabilities for the basic elements b...

element.specificity

(Defunct) Tests how much each element increases the specificity of all...

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

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

multiple.netfacs

(Deprecated) Applies the netfacs function across multiple levels of ...

multiple_netfacs_network

Creates network objects out of the netfacs data

multiple_network_plot

Plots networks for multiple conditions

mutual.information.condition

Tests how much each element increases the specificity of all combinati...

mutual.information

Calculates the pointwise mutual information of units with each other

netfacs

Create probability distribution of combinations of elements in the dat...

netfacs.reciprocity

Calculate reciprocity of probabilities that two elements appear togeth...

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...

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, a...

network_conditional

Create a network based on conditional probabilities of dyads of elemen...

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 netw...

overlap.network

(Deprecated) Plots the overlap of multiple conditions as bipartite net...

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 corr...

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 combinati...

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

Functions to analyze and visualize communication data, based on network theory and resampling methods. Farine, D. R. (2017) <doi:10.1111/2041-210X.12772>; Carsey, T., & Harden, J. (2014) <doi:10.4135/9781483319605>. Primarily targeted at datasets of facial expressions coded with the Facial Action Coding System. Ekman, P., Friesen, W. V., & Hager, J. C. (2002). "Facial action coding system - investigator's guide" <https://www.paulekman.com/facial-action-coding-system/>.

  • Maintainer: Alan V. Rincon
  • License: Apache License (>= 2.0)
  • Last published: 2022-12-06