BuildParameterSet: Builds the simulation parameter set

Description Usage Arguments Value Examples

View source: R/RRepast.R

Description

Merges the design matrix with parameters which will be keep fixed along simulation runs.

Usage

1
BuildParameterSet(design, parameters)

Arguments

design

The experimental desing matrix for at least one factor

parameters

All parameters of the repast model.

Value

A data frame holding all parameters required for running the model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
   modeldir<- "c:/usr/models/BactoSim(HaldaneEngine-1.0)"
   e<- Model(modeldir=modeldir,dataset="ds::Output")
   Load(e)

   f<- AddFactor(name="cyclePoint",min=40,max=90)

   p<- GetSimulationParameters(e)

   d<- AoE.LatinHypercube(factors=f)

   p1<- BuildParameterSet(d,p)
## End(Not run)

antonio-pgarcia/RRepast documentation built on Feb. 22, 2020, 1:20 a.m.