View source: R/netfacs_extract.R
netfacs_extract | R Documentation |
Extract results from a netfacs
object.
netfacs_extract( netfacs.data, combination.size = NULL, significance = 1, min.count = 0, min.prob = 0 ) netfacs.extract( netfacs.data, combination.size = NULL, significance = 1, min.count = 0, min.prob = 0 )
netfacs.data |
An object of class |
combination.size |
Numeric, denoting the combination size(s) that should
be extracted. If |
significance |
Numeric value between 0 and 1, determining the p-value below which combinations are considered to be dissimilar enough from the null distribution. |
min.count |
Numeric, denoting the minimum number of times an element combination occurred. |
min.prob |
Numeric value between 0 and 1, denoting the minimum probability an element combination occurred to be displayed. |
Function returns a tibble
data.frame
that contains the results of the netfacs
object. By default,
returns all results for all observed combinations, but can optionally
pre-filter results.
### how do angry facial expressions differ from non-angry ones? data(emotions_set) angry.face <- netfacs( data = emotions_set[[1]], condition = emotions_set[[2]]$emotion, test.condition = "anger", ran.trials = 10, combination.size = 2 ) netfacs_extract(angry.face)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.