View source: R/butter.parallel.R
1 2 | butter.parallel(start_run, decay = 0.2, retention = 0, suppress = 0.1,
network = gc.net, time = 10)
|
start_run |
A non-empty dataframe with 'words' and 'activation' columns. Must be specified. |
decay |
Proportion of activation that is lost at each time step. Default is 20 \itemretentionProportion of activation that remains in the node, ranges from 0 to 1. Default is 0. \itemsuppressSuppress nodes with total final activation of < x units at each time step. Recommended value of x is 0.1 \itemnetworkNetwork where the spreading occurs. Must be specified. Default is gc.net. \itemtimeNumber of time steps to run spread function for. Default is 10. A compiled dataframe with 'words', 'activation' and 'time' columns showing the spread of activation in the network over time. Note: butter.decay() is a modified function of butter.retention() and calls the parallelized spread.decay.parallel() function for faster processing. The main difference is that spread.decay() specifies decay rate, d, which the rate at which activation is lost at each time step. Use the estimate.time() function to figure out the number of time steps required for total activation in the network to decrease to 10 See Vignette for examples. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.