nl_show_step: Plot step measure observations

Description Usage Arguments See Also

Description

Plot observations for each simulation step

Usage

1
2
nl_show_step(result, x = "step_id", y, color = "run_id", x_param = ".",
  y_param = ".", title = NULL, data_filter = NULL, alpha = 1)

Arguments

result

NetLogo experiment result object

x

"step_id" or measure name (as string) to choose for x axis

y

measure name as string to plot on y axis

color

by default it is based on "run_id" (simulation repetition). Change to NA to plot every repetition in black

x_param

which parameter to use for faceting horizontally

y_param

which parameter to use for faceting vertically

title

plot title

data_filter

optional subset expression (not quoted) using parameters, run_id and step_id

alpha

lines opacity

See Also

To get only data and create custom plots see nl_get_result


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