Return characteristics of a given context/d_m code (support function)
Source:R/designs_and_models.R
parse_d_m.Rd
Returns number of levels and model at each level. See pump_info()$Context to get a list of supported d_ms.
Examples
supported <- pump_info(comment = FALSE)$Context
parse_d_m( supported$d_m[4] )
#> $levels
#> [1] 2
#>
#> $rand_level
#> [1] 1
#>
#> $model2
#> [1] "fr"
#>
#> $model2.p
#> [1] "f" "r"
#>
#> $model3
#> NULL
#>
#> $model3.p
#> NULL
#>
#> $FE.2
#> [1] TRUE
#>
#> $FE.3
#> [1] NA
#>
#> $design
#> [1] "d2.1"
#>