Package: NetFACS 0.5.0

NetFACS: Network Applications to Facial Communication Data

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

Authors:Alex Mielke [aut], Bridget M. Waller [aut], Claire Perez [aut], Alan V. Rincon [aut, cre], Julie Duboscq [aut], Jerome Micheletta [aut]

NetFACS_0.5.0.tar.gz
NetFACS_0.5.0.zip(r-4.5)NetFACS_0.5.0.zip(r-4.4)NetFACS_0.5.0.zip(r-4.3)
NetFACS_0.5.0.tgz(r-4.4-any)NetFACS_0.5.0.tgz(r-4.3-any)
NetFACS_0.5.0.tar.gz(r-4.5-noble)NetFACS_0.5.0.tar.gz(r-4.4-noble)
NetFACS_0.5.0.tgz(r-4.4-emscripten)NetFACS_0.5.0.tgz(r-4.3-emscripten)
NetFACS.pdf |NetFACS.html
NetFACS/json (API)
NEWS

# Install 'NetFACS' in R:
install.packages('NetFACS', repos = c('https://netfacs.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/netfacs/netfacs/issues

Datasets:

On CRAN:

5.08 score 8 stars 5 scripts 235 downloads 41 exports 70 dependencies

Last updated 7 months agofrom:113150bf6f. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winNOTENov 23 2024
R-4.5-linuxNOTENov 23 2024
R-4.4-winOKNov 23 2024
R-4.4-macOKNov 23 2024
R-4.3-winOKNov 23 2024
R-4.3-macOKNov 23 2024

Exports:conditional_probabilitiesdistribution.plotelement.plotelement.specificityentropy_overallentropy.overallevent_size_plotevent.size.plotget_datais.netfacsis.netfacs_multipleis.netfacs_specificitymultiple_netfacs_networkmultiple_network_plotmultiple.netfacsmultiple.netfacs.networkmultiple.network.plotmutual.informationmutual.information.conditionnetfacsnetfacs_extractnetfacs_multiplenetfacs_networknetfacs.extractnetfacs.networknetfacs.reciprocitynetwork_conditionalnetwork_plotnetwork_summarynetwork_summary_graphnetwork.conditionalnetwork.plotnetwork.summarynetwork.summary.graphoverlap_networkoverlap.networkprepare.netfacssim_facsspecificityspecificity_increaseupsample

Dependencies:apearrangementscachemcliclustercodetoolscolorspacecpp11digestdoParalleldplyrfansifarverfastmapforeachgenericsggforceggplot2ggraphggrepelgluegmpgraphlayoutsgridExtragtableigraphisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepatchworkpermutepicantepillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppEigenRcppGSLRcppParallelRcppZigguratRfastrlangscalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsveganviridisviridisLitewithr

NetFACS Tutorial

Rendered fromnetfacs_tutorial.Rmdusingknitr::rmarkdownon Nov 23 2024.

Last update: 2022-12-06
Started: 2022-06-22

Readme and manuals

Help Manual

Help pageTopics
Add inactive (missing) single unitsadd_inactive_single_units
Calculate combination sizecalculate_combination_size
Summarise dyadic combination of elementsconditional_probabilities
Define truth for AUs active in different contextsdefine_contexts
Joint probability distribution of AUsdefine_joint_prob
Plots the observed probability for an element against the distribution of the null modeldistribution.plot
Plots the observed and expected probabilities for the basic elements based on the conditionelement.plot
(Defunct) Tests how much each element increases the specificity of all combinations it is inelement.specificity
Letter Dataemotions_set
Calculate information content of the datasetentropy_overall
(Deprecated) Calculate information content of the datasetentropy.overall
Check that ALL objects have the same number of observationsequal_observations
Plots the probability that a combination of a certain size appearsevent.size.plot event_size_plot
Extract active elements from matrixget_active_elements
Extract used data from a 'netfacs' objectget_data
Checks if argument is a 'netfacs' objectis.netfacs
Checks if argument is a 'netfacs_multiple' objectis.netfacs_multiple
Checks if argument is a 'netfacs_specificity' objectis.netfacs_specificity
Letter Dataletternet
Creates network objects out of the netfacs datamultiple.netfacs.network multiple_netfacs_network
Plots networks for multiple conditionsmultiple.network.plot multiple_network_plot
(Deprecated) Applies the 'netfacs' function across multiple levels of the condition and puts them in a listmultiple.netfacs
Calculates the pointwise mutual information of units with each othermutual.information
Tests how much each element increases the specificity of all combinations it is inmutual.information.condition
Create probability distribution of combinations of elements in the datanetfacs
Calculate expected probability from single bootstrapnetfacs_bootstrap
Extract results from a netfacs objectnetfacs.extract netfacs_extract
Applies the 'netfacs' function across multiple levels of the condition and puts them in a listnetfacs_multiple
Creates a network object out of the netfacs datanetfacs.network netfacs_network
Calculate probabilities from single randomizationnetfacs_randomize
Calculate reciprocity of probabilities that two elements appear togethernetfacs.reciprocity
Create a network based on conditional probabilities of dyads of elementsnetwork_conditional
Plots a network objectnetwork.plot network_plot
Returns all kinds of network measures for the netfacs networknetwork.summary network_summary
Returns all kinds of graph-level network measures for the netfacs networknetwork.summary.graph network_summary_graph
(Deprecated) Produce conditional probabilities of dyads of elements, and graph object based on conditional probabilitiesnetwork.conditional
Plots the overlap of multiple conditions as bipartite networkoverlap_network
(Deprecated) Plots the overlap of multiple conditions as bipartite network.overlap.network
Calculate all possible combinations of elementspossible_combinations
Take data that are not currently in format and turn them into the correct format for netfacs functionprepare.netfacs
Print method for objects of class 'netfacs'print.netfacs
Print method for objects of class 'netfacs_multiple'print.netfacs_multiple
Calculate probabilities of single elements and combinations occurringprobability_of_combination
Count number of event sizesprobability_of_event_size
Simulate FACS datasim_facs
Specificityspecificity
Tests how much each element increases the specificity of all combinations it is inspecificity_increase
Summarise combination results from bootstrapsummarise_combination
Summarise event size probabilitiessummarise_event_size
Up sampleupsample
Check that condition arguments are formatted correctlyvalidate_condition
Check that 'data' argument is formatted correctlyvalidate_data