Learn R Programming

rrepast (version 0.8.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 supporting multicore execution. 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

225

Version

0.8.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Antonio Prestes Garcia

Last Published

February 19th, 2020

Functions in rrepast (0.8.0)

AddResults

Concatenate results of multiple runs
AoE.Base

AoE.Base
AoE.RMSD

AoE.RMSD
AddFactor0

AddFactor0
ApplyFactorRange

Corrects the LHS design matrix
BuildParameterSet

Builds the simulation parameter set
Easy.Morris

Easy API for Morris's screening method
AoE.RandomSampling

AoE.RandomSampling experiment desing generator
AoE.FullFactorial

AoE.FullFactorial design generator
AoE.GetMorrisOutput

AoE.GetMorrisOutput
AoE.ColumnCoV

AoE.ColumnCoV
AoE.Sobol

AoE.Sobol
Calibration.GetMemberKeys

Calibration.GetMemberKeys
Easy.Run

Easy API for running a model
Engine.RunModel

Engine.RunModel
AoE.Stability

AoE.Stability
ClearResults

Clear the results data.frame
Engine

Engine
Calibration.GetMemberList

Calibration.GetMemberList
Easy.Calibration

Easy.Calibration
Easy.RunExperiment

Easy API for Runnning Experiments
Engine.resetModelOutput

Engine.resetModelOutput
Easy.Setup

Easy.Setup
Engine.GetModelOutput

Engine.GetModelOutput
Engine.getParameterAsString

Engine.getParameterAsString
Engine.getParameterType

Engine.getParameterType
Engine.getParameterNames

Engine.getParameterNames
Engine.LoadModel

Engine.LoadModel
AoE.Morris

AoE.Morris
Engine.SetAggregateDataSet

Engine.SetAggregateDataSet
Engine.endAt

Engine.endAt
Engine.getParameterAsDouble

Engine.getParameterAsDouble
Logger.setLevelInfo

Set the log level to INFO
Results.GetCharts

Results.GetCharts
PB.enable

PB.enable
Results.GetExperiment

Results.GetExperiment
Load

The Scenario loader
PB.get

PB.get
Engine.getParameterAsNumber

Engine.getParameterAsNumber
AoE.NRMSD

AoE.NRMSD
Easy.Stability

Easy API for output stability
GetResults

Returns the model results
GetResultsParameters

Gets the parameters
Logger.setLevelWarning

Set the log level to WARNING
Easy.Sobol

Easy API for Sobol's SA method
Easy.ShowModelParameters

Easy.ShowModelParameters
PB.close

PB.close
Engine.getId

Returns the model id
Engine.getParameter

Engine.getParameter
Easy.getChart

Easy.getChart
Easy.getPlot

Easy.getPlot
Engine.Finish

Engine.Finish
GoToPreviousDir

GoToPreviousDir
GetFactorsSize

Get the number of factors
GetOutput

Gets the output
SetSimulationParameters

Set parameters for running model
config.copylib

config.copylib
config.check

config.check
ShowClassPath

ShowClassPath
Plot.Sobol

Plot of Sobol output
PB.disable

PB.disable
df2matrix

df2matrix
Engine.setParameter

Engine.setParameter
Plot.Stability

Plot stability of output
dffilterby

dffilterby
SequenceItem

SequenceItem
GetSimulationParameterType

GetSimulationParameterType
GetFactorLevels

GetFactorLevels
PB.set

PB.set
PB.update

PB.update
PB.init

PB.init
GetSimulationParameters

Gets the simulation parameters
ParallelRun

ParallelRun
GoToWorkDir

GoToWorkDir
PB.isEnabled

PB.isEnabled
jvm.getruntime

jvm.getruntime
getExperimentParamSet

Helper function to get experiment paramset
getId

Gets the model name
PB.pset

PB.pset
ParallelClose

ParallelClose
PB.rnum

PB.rnum
ParallelInit

ParallelInit
Model

The easy API for model initilization
ParallellRunExperiment

ParallellRunExperiment
RunExperiment

Run an experimental setup
SetResults

Stores a data.frame
setpkgcores

setpkgcores
jvm.init

Init R/JVM environment
enginestats.calls

enginestats.calls
enginestats.reset

enginestats.reset
col.sum

col.sum
check.scenario

check.scenario
getOutputDir

Gets output directory
SetResultsParameters

Sets the parameters
getpkgcores

getpkgcores
jvm.memory

jvm.memory
jvm.resetOut

jvm.resetOut
SetSimulationParameter

SetSimulationParameter
ShowCores

ShowUsedCores
ShowModelPaths

ShowModelPaths
pick.fittest

pick.fittest
setId

Sets the model name
config.scenario

config.scenario
SaveSimulationData

Saving simulation output
dfround

dfround
UpdateDefaultParameters

UpdateDefaultParameters
dfsumcol

dfsumcol
WrapperRun

WrapperRun
Plot.Calibration

Plot of calibration
Plot.Morris

Plot of Morris output
Run

Run simulations
Results.GetObject

Results.GetObject
getKeyRandom

Gets Repast randomSeed name
getLogDir

getLogDir()
getExperimentOutput

Helper function to get experiment output
hybrid.distance

hybrid.distance
check.integration

check.integration
WrapperRunExperiment

WrapperRunExperiment
getExperimentDataset

Helper function to get experiment dataset
getpkgdefaultcores

getpkgdefaultcores
hybrid.value

hybrid.value
createOutputDir

Create output directory
jvm.set_parameters

jvm.set_parameters
jvm.enablejmx

jvm.enablejmx
lcontains

lcontains
jarfile

jarfile
jvm.get_parameters

jvm.get_parameters
lget

get
parallelize

parallelize
setOutputDir

Sets output directory
setKeyRandom

Sets Repast randomSeed name
jvm.setOut

jvm.setOut
jvm.runtimegc

jvm.runtimegc
AddFactor

Adds a paramter to factor collection
AoE.CoV

AoE.CoV
AoE.MAE

AoE.MAE
AoE.LatinHypercube

AoE.LatinHypercube