Learn R Programming

evoper (version 0.6.0)

NLWrapper.Run: NLWrapper.Run

Description

Executes a NetLogo Model using rNetLogo

Usage

NLWrapper.Run(obj, r = 1, seed = c())

Arguments

obj

The object retuned by NLWrapper.Model

r

The number of replications

seed

The collection of random seeds

Examples

Run this code
if (FALSE) {
p<- "C:/Program Files/NetLogo 6.1.1/app"
m<- file.path(p, "models", "Sample Models", "Biology", "Wolf Sheep Predation.nlogo")
output<- c("count sheep", "count wolves")
o<- NLWrapper.Model(p, m, output, 150)
v<- NLWrapper.Run(o)
NLWrapper.Shutdown(o)}


Run the code above in your browser using DataLab