som_to_df: Converts the Wide/Verbose Output Simulation Functions into...

Description Usage Arguments Value See Also

View source: R/ubiquity.r

Description

The functions run_simulation_ubiquity, simulate_subjects, or run_simulation_titrate provide outputs in a more structured format, but it may be useful to convert this "wide" format to a tall/skinny format.

Usage

1
som_to_df(cfg, som)

Arguments

cfg

ubiquity system object

som

simulation output from run_simulation_ubiquity, simulate_subjects, or run_simulation_titrate

Value

Data frame of the format:

When applied to the output of run_simulation_ubiquity or run_simulation_titrate

When applied to the output of simulate_subjects

(* - field present when titration is enabled)

See Also

run_simulation_titrate internally when running simulations.


ubiquity documentation built on Sept. 5, 2021, 5:15 p.m.