simulateT1 | R Documentation |
This function does one update step in a simulation process
simulateT1(nodes.t=nodes.t,intermediates.AND=intermediates.AND,integrators.AND=integrators.AND,intm.inN=intm.inN,intg.inN=intg.inN,sink.inN=sink.inN)
nodes.t |
numeric matrix with two columns being the state of each node at state t and state t+1, status of nodes are 0 or 1 |
intermediates.AND |
for each intermediate in the network, this is a logical that says if inputs enter it with an AND gate or not |
integrators.AND |
for each integrator in the network, this is a logical that says if inputs enter it with an AND gate or not. This is NA if the integrators are not considered as intermediates |
intm.inN |
a list with an entry for each intermediate that has inputs, containing a character vector with the names of input nodes of the node |
intg.inN |
a list with an entry for each integrator that has inputs, containing a character vector with the names of input nodes of the node |
sink.inN |
a list with an entry for each sink that has inputs, containing a character vector with the names of input nodes of the node |
This function computes the status of each node (recorded in column 2 of nodes.T) at t+1 as a function of the status of its parents at t (column 1) according to a model
the updated nodes.t matrix
C. Terfve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.