Description Usage Arguments Value Examples
Keep simulations for a factorial experiment
1 | keep_simulations(l, s)
|
l |
A list from read_apsim with Factorial.Permutation as root. |
s |
a list with factor as name and levels as value to keep. The factor is kept if it is not specified. |
A new list with removed simulations.
1 2 3 4 5 6 7 8 9 10 11 | wheat <- read_apsimx(system.file("wheat.apsimx", package = "rapsimng"))
permutation <- search_path(wheat, path = "[Factors].Permutation")
permutation_new <- keep_simulations(permutation$node, list(V = "2"))
get_simulations(permutation_new)
permutation_new <- keep_simulations(permutation$node, list(Cv = c("Axe", "Bolac")))
get_simulations(permutation_new)
permutation_new <- keep_simulations(permutation$node,
list(V = "1", Cv = c("Axe", "Bolac")))
get_simulations(permutation_new)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.