Description Usage Arguments Value Examples
View source: R/spread.R View source: R/spread.retention.R
The spread function takes in a dataframe with 'words' and 'activation' columns, and simulates the spread of activation of the words listed in the 'words' columns to its neighbors in the specified network.
1 | spread(start_run, retention, network)
|
start_run |
A non-empty dataframe with 'words' and 'activation' columns. |
retention |
Proportion of activation that remains in the node, ranges from 0 to 1. |
network |
Network where the spreading occurs |
A updated dataframe with 'words' and 'activation' columns with new activation values.
1 | See Vignette for examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.