Flash Sale | 50% off

Last chance! 50% off unlimited learning

Sale ends in


⚠️There's a newer version (0.8.0) of this package.Take me there.

rrepast (version 0.4.0)

Invoke 'Repast Simphony' Simulation Models

Description

An R and Repast integration tool for running individual-based (IbM) simulation models developed using 'Repast Simphony' Agent-Based framework directly from R code. This package integrates 'Repast Simphony' models within R environment, making easier the tasks of running and analyzing model output data for automated parameter calibration and for carrying out uncertainty and sensitivity analysis using the power of R environment.

Copy Link

Version

Install

install.packages('rrepast')

Monthly Downloads

256

Version

0.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Antonio Prestes Garcia

Last Published

April 10th, 2016

Functions in rrepast (0.4.0)

Logger.setLevelInfo

Set the log level to INFO
ApplyFactorRange

Corrects the LHS design matrix
AddFactor

Adds a paramter to factor collection
AoE.RandomSampling

AoE.RandomSampling experiment desing generator
Easy.Sobol

Easy API for Sobol's SA method
ClearResults

Clear the results data.frame
AoE.GetMorrisOutput

AoE.GetMorrisOutput
DFToMatrix

DFToMatrix
Engine.GetModelOutput

Gets the model output data as a CSV String array
AoE.Stability

AoE.Stability
AoE.LatinHypercube

AoE.LatinHypercube
createOutputDir

Create output directory
PB.close

PB.close
AddResults

Concatenate results of multiple runs
AoE.Base

AoE.Base
SaveSimulationData

Saving simulation output
PB.enable

PB.enable
Easy.Morris

Easy API for Morris's screening method
PB.update

PB.update
Engine.getParameterAsDouble

Get the value of model parameter s as java.lang.Double
Load

The Scenario loader
PB.isEnabled

PB.isEnabled
GetResultsParameters

Gets the parameters
getExperimentDataset

Helper function to get experiment dataset
PB.disable

PB.disable
SetResults

Stores a data.frame
Plot.Stability

Plot stability of output
PB.init

PB.init
Easy.getChart

Easy.getChart
RunExperiment

Run an experimental setup
getKeyRandom

Gets Repast randomSeed name
Engine.getParameter

Get the value of model parameter s as java.lang.Object
GetFactorsSize

Get the number of factors
Engine.getParameterNames

Parameter names
PB.pset

PB.pset
setKeyRandom

Sets Repast randomSeed name
Engine.setParameter

Set the value of model parameter
Engine.getId

Returns the model id
setOutputDir

Sets output directory
PB.get

PB.get
Engine

Creates an instance of Engine
ShowClassPath

Java Classpath
Engine.getParameterAsNumber

Get the value of model parameter s as java.lang.Number
GetResults

Returns the model results
SetSimulationParameters

Set parameters for running model
ShowModelPaths

Prints the paths
jvm.resetOut

jvm.resetOut
jvm.init

Init R/JVM environment
jvm.setOut

jvm.setOut
BuildParameterSet

Builds the simulation parameter set
getOutputDir

Gets output directory
Logger.setLevelWarning

Set the log level to WARNING
Run

Run simulations
Easy.Setup

Easy.Setup
Engine.SetAggregateDataSet

Sets the model's dataset
SetResultsParameters

Sets the parameters
GetOutput

Gets the output
Engine.LoadModel

Loads the scenario files
AoE.ColumnCoV

AoE.ColumnCoV
Model

The easy API for model initilization
Plot.Sobol

Plot of Sobol output
Engine.Finish

Performs a cleanup on engine instance.
jvm.get_parameters

Gets the current java virtual machine parameters
AoE.Sobol

AoE.Sobol
jvm.set_parameters

Configures the jvm parameters
SetSimulationParameter

SetSimulationParameter
setId

Sets the model name
Engine.endAt

Configure the maximun simulated time for the current model run
SequenceItem

SequenceItem
Engine.getParameterAsString

Get the value of model parameter s as java.lang.String
AoE.FullFactorial

AoE.FullFactorial design generator
AoE.CoV

AoE.CoV
getExperimentOutput

Helper function to get experiment output
getId

Gets the model name
Engine.RunModel

Run the model
Easy.Stability

Easy API for output stability
getExperimentParamSet

Helper function to get experiment paramset
Plot.Morris

Plot of Morris output
PB.set

PB.set
Easy.Calibration

Easy.Calibration
AoE.Morris

AoE.Morris
AoE.RMSD

AoE.RMSD
GetSimulationParameters

Gets the simulation parameters
Engine.getParameterType

Get the type of a model parameter