nl_set_param_values R Documentation

Define parameter sets for NetLogo experiment

Description

Define parameter sets for NetLogo experiment

Usage

nl_set_param_values(experiment, param_values = NULL, mapping = NULL)

Arguments

experiment

NetLogo experiment object from nl_experiment() function

param_values

A data.frame with parameter values or a list of values to be expanded to all combinations of values

mapping

Mapping between R and NetLogo parameters in named character vector. For example: c(diffusion_rate = "diffusion-rate", population = "population")

Value

NetLogo experiment object