Description Usage Arguments Value Examples
View source: R/butter.R View source: R/butter.retention.R
The butter function takes in a dataframe with 'words' and 'activation' columns, and calls the spread function for a specific number of times to simulate the spread of activation of a given initial activation space (specified in start_time) over time.
1 |
start_run |
A non-empty dataframe with 'words' and 'activation' columns. Must be specified. |
retention |
Proportion of activation that remains in the node, ranges from 0 to 1. Default is 0.5. |
network |
Network where the spreading occurs. Must be specified. |
time |
Number 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.
1 | See Vignette for examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.