add_pattern: Assign missing patterns

Description Usage Arguments Value

View source: R/util_fn.R

Description

For wide form of the data, assign the missing pattern indicator

Usage

1
add_pattern(data_wide, y_name)

Arguments

data_wide

wide form data

y_name

names of the longitudinal response

Value

a wide-form data frame with the assigned missing patterns


Merck/mmrm documentation built on Dec. 17, 2021, 4:12 a.m.