Skip to contents

Checks schema usability, chronological event logic, explicit endpoint semantics, derived timing fields, censoring conventions, baseline constancy, strata, and occasion-assigned dose coherence. It does not assess scientific or inferential validity.

Usage

validate_pmx(data, roles, endpoints = NULL, strict = FALSE)

Arguments

data

A PMX event data frame or tibble.

roles

Explicit roles from pmx_roles().

endpoints

Optional named endpoint declarations from pmx_endpoint().

strict

Stop when any error-level check fails.

Value

A pmx_validation report with valid, checks, and summary.