nl_parse_model: Parse NetLogo model file

Description Usage Arguments Details Value

Description

Gets information about widgets (e.g. sliders, monitors, plots) from from NetLogo model file

Usage

1
nl_parse_model(model_file)

Arguments

model_file

NetLogo model file

Details

Imports attributes from sliders defined in NetLogo model file. Based on information from https://github.com/NetLogo/NetLogo/wiki/Model-file-format and https://github.com/NetLogo/NetLogo/wiki/Widget-Format

Value

Returns an object of class nl_model. It is a list containing at most the following components:

view

a data frame with NetLogo model view attributes

sliders

a data frame with NetLogo model sliders attributes

switches

a data frame with NetLogo model switches attributes

monitors

a data frame with NetLogo model monitors attributes

plots

a data frame with NetLogo model plots attributes


bergant/nlexperiment documentation built on May 12, 2019, 3:05 p.m.