Learn R Programming

DesignLibrary (version 2.0.0)

preferred_diagnosands: Preferred diagnosands declared in a design's YAML

Description

Reads optional diagnosands: from the design frontmatter (for example diagnosands: [rmse, bias] or diagnosands: rmse, -bias, power). Positive names are preferred defaults for diagnosis and redesign display. Names prefixed with - (e.g. -bias) are exclusions and are omitted here; see excluded_diagnosands().

Usage

preferred_diagnosands(design)

Value

Character vector (possibly empty).

Arguments

design

Design id or book alias.

Examples

Run this code
preferred_diagnosands("two_arm_simple")

Run the code above in your browser using DataLab