spread: The spread function takes in a dataframe with 'words' and...

Description Usage Arguments Value Examples

View source: R/spread.R View source: R/spread.retention.R

Description

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.

Usage

1
spread(start_run, retention, network)

Arguments

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

Value

A updated dataframe with 'words' and 'activation' columns with new activation values.

Examples

1
See Vignette for examples.

csqsiew/samr documentation built on May 28, 2019, 7:49 p.m.