reaction: Create SSM reaction

Description Usage Arguments

View source: R/reaction.r

Description

Create a reaction for SSM

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
reaction(
  from,
  to,
  description = NULL,
  rate,
  accumulators = NULL,
  keywords = NULL
)

reaction_split(
  from,
  split_to,
  description = NULL,
  rate,
  accumulators = NULL,
  keywords = NULL
)

reaction_NGM(
  from,
  to,
  description = NULL,
  NGM,
  accumulators = NULL,
  keywords = NULL
)

Arguments

from, to

character, name of starting and ending state of the reaction

description

character, description of the reaction

rate

character, rate of the reaction

accumulators

character vector, one or more accumulators. In reaction_split, several accumulators can be defined for each split reaction using a list of vectors.

keywords

character vector

split_to

a vector whose names will be the to, and whose values will be the splitting probabilities between the to.

NGM

a list returned by define_NGM.


StateSpaceModels/ssminr documentation built on Feb. 7, 2020, 8:20 p.m.