Description Usage Arguments Value Examples
View source: R/Entity-functions.R
Combine history data of Entities into a single data.frame.
1 |
x |
a R6 object that inherits Container such as World. |
a data.table with five columns: time, created_timestamp, event, id, entity
1 2 3 4 | create_toy_world()
Ind <- world$get("Individual")
add_history(Ind, ids = sample(Ind$get_ids(), 10), event = "event1", time = 1)
combine_histories(world)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.