Learn R Programming

PUMP (version 1.0.4)

parse_d_m: 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)

Value

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

Arguments

d_m

string; context to parse.

d_only

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

Examples

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

Run the code above in your browser using DataLab