parse_d_m: Return characteristics of a given context/d_m code (support...

View source: R/designs_and_models.R

parse_d_mR Documentation

Return characteristics of a given context/d_m code (support function)

Description

Returns number of levels and model at each level. See pump_info()$Context to get a list of supported d_ms.

Usage

parse_d_m(d_m, d_only = FALSE)

Arguments

d_m

string; context to parse.

d_only

TRUE/FALSE; TRUE means only look at design, ignore model if present.

Value

list; list of features including number of levels, level of randomization, etc.

Examples

supported <- pump_info(comment = FALSE)$Context
parse_d_m( supported$d_m[4] )


MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.