run_nl_block: Backend function used by 'run_nl_all()' and 'run_nl_one()' to...

View source: R/run_nl.R

run_nl_blockR Documentation

Backend function used by run_nl_all() and run_nl_one() to run simulations (NetLogo 7+)

Description

Creates a BehaviorSpace XML file for simulations defined in block_df and executes them via logolink

Usage

run_nl_block(nl, block_df, block_number, threads)

Arguments

nl

See run_nl_all()

block_df

Data frame of simulation definitions, with one row being one run

block_number

Assigned by run_nl_all(), used for naming the XML file.

Details

Runs a single block (block_df) by writing a single BehaviorSpace XML file and executing it via logolink.

Value

Tibble with simulation output results


nlrx documentation built on Nov. 25, 2026, 5:09 p.m.