Learn R Programming

rbmi (version 1.4.1)

validate.is_mar: Validate is_mar for a given subject

Description

Checks that the longitudinal data for a patient is divided in MAR followed by non-MAR data; a non-MAR observation followed by a MAR observation is not allowed.

Usage

# S3 method for is_mar
validate(x, ...)

Value

Will error if there is an issue otherwise will return TRUE.

Arguments

x

Object of class is_mar. Logical vector indicating whether observations are MAR.

...

Not used.