nl_parse_model | R Documentation |
Gets information about widgets (e.g. sliders, monitors, plots) from from NetLogo model file
nl_parse_model(model_file)
model_file
|
NetLogo model file |
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
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 |