util_clean_agent_metrics: Backend function for cleaning agent metrics

View source: R/util_runnl.R

util_clean_agent_metricsR Documentation

Backend function for cleaning agent metrics

Description

Internal helper for formatting turtle, patch and link metrics in simulation output.

Usage

util_clean_agent_metrics(NLtable, nl, expect_cleaned_names = FALSE)

Arguments

NLtable

simulation output table

nl

nl object

expect_cleaned_names

TRUE/FALSE, if TRUE reporter column names are expected to be cleaned by janitor::make_clean_names().

Details

Converts raw turtle, patch and link metric reporter output into nested output columns.

Value

simulation output table with cleaned agent metrics


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