Description Usage Arguments Value Examples
Function replaces the index vectors created by get_adjlist fluency, or search_rw by their original names.
1 | restore_names(dat, names)
|
dat |
lists of indices that correspond to positions in a name vector or matrix with two initial columns containing node indices. |
names |
character vector giving the names. |
lists of character vectors.
1 2 3 4 5 6 7 8 9 10 11 | # get fluency data
data(animal_fluency)
# edge list of fluency graph
edge_list = threshold_graph(animal_fluency)
# extract adjlist from community network
adjlist = edg_to_adjlist(edge_list)
f = fluency(adjlist, c(10, 14, 16, 18))
restore_names(f, get_names(edge_list))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.