CN | R Documentation |
Estimates a semantic network using the Community Network method described in Goni et al. (2011)
CN(data, window = 2, alpha = 0.05, enrich = FALSE)
data |
Matrix or data frame. A preprocessed verbal fluency matrix where rows are participants and columns are verbal fluency responses |
window |
Numeric.
Size of window to look for co-occurences in.
Defaults to |
alpha |
Numeric.
Significance value.
Defaults to |
enrich |
Boolean.
Should the network be enriched by connecting
all nodes in their respective modules?
Defaults to |
Returns a undirected semantic network
Alexander Christensen <alexpaulchristensen@gmail.com>
Goni, J., Arrondo, G., Sepulcre, J., Martincorena, I., de Mendizabal, N. V., Corominas-Murtra, B., ... & Villoslada, P. (2011). The semantic organization of the animal category: Evidence from semantic verbal fluency and network theory. Cognitive Processing, 12, 183-196.
# Get data
data <- open.clean
# Organize group data
## Get group data
group <- open.group
## Low and high openness to experience groups
low <- data[which(group == "Low"),]
high <- data[which(group == "High"),]
## Not run:
# Compute networks
low.net <- CN(low)
high.net <- CN(high)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.