Description Usage Arguments Value Examples
This function allows new records to be added to an Entity object stored inside a World object. This is one of the pipe-friendly functions.
1 2 3 4 5 6 7 8 9 10 |
world |
( |
entity |
( |
newdata |
( |
target |
( |
weight_col |
( |
replace |
( |
check_relationship_id_cols |
( |
condition |
( |
the input World
object.
1 2 3 | world <- World$new()
world$add(x = Individual$new(toy_individuals, id_col = "pid"))
add_entity(world, entity = "Individual", newdata = toy_individuals)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.