| util_harmonize_block_types | R Documentation |
Makes columns that have different types in different blocks bindable
util_harmonize_block_types(results_list)
results_list |
list of result tibbles, one per simulation block |
A metric can come back as a number in one block and as a character in another, for example when a run reports a NetLogo error message. Binding the blocks then fails and the results of all completed runs are lost. Such columns are converted to character in every block instead, with a warning naming them. List columns (agent metrics) are left untouched.
results_list with conflicting columns converted to character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.