View source: R/spread.parallel.R
1 | spread.parallel(start_run, decay, retention, suppress, network)
|
start_run |
A non-empty dataframe with 'words' and 'activation' columns. |
decay |
Proportion of activation that is lost at each time step, ranges from 0 to 1. |
retention |
Proportion of activation that remains in the node, ranges from 0 to 1. |
suppress |
Suppress nodes with total final activation of < x units at each time step. Recommended value of x is 0.1 \itemnetworkNetwork where the spreading occurs. |
A updated dataframe with 'words' and 'activation' columns with new activation values. 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. See Vignette for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.