NLWrapper.Run: NLWrapper.Run

View source: R/netlogo-helper.R

NLWrapper.RunR Documentation

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

## Not run: 
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)
## End(Not run)



evoper documentation built on Jan. 28, 2026, 5:06 p.m.

Related to NLWrapper.Run in evoper...