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

Usage Arguments

View source: R/spread.parallel.R

Usage

1
spread.parallel(start_run, decay, retention, suppress, network)

Arguments

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

\item

networkNetwork 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.


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