Get simulations for a factorial experiment

get_simulations(l)

Arguments

l

A list from read_apsim with Factorial.Permutation as root.

Value

A list with Factor as name and Levels as values

Examples

wheat <- read_apsimx(system.file("wheat.apsimx", package = "rapsimng")) permutation <- search_path(wheat, path = "[Factors].Permutation") get_simulations(permutation$node)
#> $V #> [1] "1" "2" #> #> $Cv #> [1] "Axe" "Bolac" "Calingiri" #> #> $N #> [1] "0" "200" #>