Description Usage Arguments Value Author(s) Examples
As above.
1 | convert2array(x, nRow, nCol, nBool)
|
x |
simResults as returned by simulatorDT |
nRow |
Number of rows of output. |
nCol |
Number of columns of output. |
nBool |
The third dimension, which corresponds to the number of simulation updates. |
This function returns a 3D array of the simulation results.
A. MacNamara
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(CellNOptR)
library(CNORdt)
data(CNOlistPB, package="CNORdt")
data(modelPB, package="CNORdt")
indexOrig <- indexFinder(CNOlistPB, modelPB, verbose=TRUE)
fields4Sim <- prep4sim(modelPB)
boolUpdates=10
simResults <- simulatorDT(
CNOlist=CNOlistPB,
model=modelPB,
simList=fields4Sim,
indices=indexOrig,
boolUpdates=boolUpdates
)
simResults = convert2array(simResults, dim(CNOlistPB$valueSignals[[1]])[1],
length(modelPB$namesSpecies), boolUpdates)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.