parse_param_comment: extract labels from comments in raw ctl string

Description Usage Arguments

View source: R/param-labels.R

Description

Heavily modified from tidynm::parse_theta() to parse out the comments into the right columns for all three params.

Iterates over a list of $OMEGA or $SIGMA blocks and replaces the SAME blocks with a copy of the block they are referring to.

Usage

1
2
3

Arguments

.x

List of character vectors representing either $OMEGA or $SIGMA blocks, as parsed by 'clean_ctl()'

.theta

Boolean for if it's a theta. If TRUE, parses '[]' to unit, otherwise parses to type


metrumresearchgroup/mrgvalidatetestreference documentation built on Aug. 15, 2021, 8:13 a.m.