run_longitudinal_checks: An internal function to check that a list of STRAND data...

View source: R/run_longitudinal_checks.R

run_longitudinal_checksR Documentation

An internal function to check that a list of STRAND data objects can be merged into a longitudinal object

Description

An internal function to check that a list of STRAND data objects can be merged into a longitudinal object

Usage

run_longitudinal_checks(data, pass)

Arguments

data

A list of data objects of class STRAND prepared using the make_strand_data() function. The data object must include all covariates used in the formulas of the fit_longitudinal_model() function.

pass

1 or 2. First pass checks raw data, second pass checks some computed values also.

Value

Returns an error if objects do not match.


ctross/STRAND documentation built on Feb. 13, 2025, 1:04 p.m.