Description Usage Arguments Value Examples
Get the parent node from a path
1 | get_parent(l, path)
|
l |
the list of apsimx file |
path |
If numeric, the path returned by search_path or search_node. If character, the path supported by apsimx |
A new list for parent
1 2 3 | wheat <- read_apsimx(system.file("Wheat.json", package = "rapsimng"))
a <- search_path(wheat, '[Structure].BranchingRate')
get_parent(wheat, a$path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.