record_raw_object: Record an Arbitrary Object During a Simulation
Description
This function records any object during a simulation to allow it's
inspection afterward. The records are stored in dat[["raw.records"]]
during the simulation and in the netsim object under the
raw.records sublists.
# NOT RUN {dat <- record_raw_object(dat, at, "a.df", data.frame(x = 2:200))
dat <- record_raw_object(dat, at, "a.message", "I recorded something")
# }# NOT RUN {# }