nl_get_result R Documentation

Get observations joined with parameter values

Description

Observations are stored in result object only with references to parameter sets (param_set_id). nl_get_result joins the data with actual parameters used for each observation.

Usage

nl_get_result(result, add_parameters = TRUE, type = "run",
  sub_type = NULL, ...)

nl_get_run_result(result, add_parameters = TRUE, ...)

nl_get_step_result(result, add_parameters = TRUE, ...)

nl_get_criteria_result(result, add_parameters = TRUE, ...)

Arguments

result

A nlexperiment result object

add_parameters

Add parameter values from parameter space to the results

type

Observation type: "run", "step", "criteria", "agents_after", "patches_after" See nl_run for simulations result structure.

sub_type

Observation sub-type (in case of individual agents measures the sub type is a name of the measure)

...

expressions to transform resulting data frame