NLWrapper.Model {evoper}R Documentation

NLWrapper.Model

Description

This wrapper prepares the environment and instantiates the model

Usage

NLWrapper.Model(netlogodir, modelfile, dataset, maxtime)

Arguments

netlogodir

The base path of NetLogo installation

modelfile

The absolute path for NetLogo model file

dataset

The names of model variables

maxtime

The total number of iterations

Examples

## Not run: 
   rm(list=ls())
   p<- "C:/Program Files/NetLogo 6.0.4/app"
   output<- c("count sheep", "count wolves")
   m<- file.path(nlpath, "models", "Sample Models", "Biology", model, "Wolf Sheep Predation.nlogo")
   o<- NLWrapper.Model(p, m, output, 150)

## End(Not run)


[Package evoper version 0.5.0 Index]