validate_datalong {rbmi}R Documentation

Validate a longdata object

Description

Validate a longdata object

Usage

validate_datalong(data, vars)

validate_datalong_varExists(data, vars)

validate_datalong_types(data, vars)

validate_datalong_notMissing(data, vars)

validate_datalong_complete(data, vars)

validate_datalong_unifromStrata(data, vars)

validate_dataice(data, data_ice, vars, update = FALSE)

Arguments

data

a data.frame containing the longitudinal outcome data + covariates for multiple subjects

vars

a vars object as created by set_vars()

data_ice

a data.frame containing the subjects ICE data. See draws() for details.

update

logical, indicates if the ICE data is being set for the first time or if an update is being applied

Details

These functions are used to validate various different parts of the longdata object to be used in draws(), impute(), analyse() and pool(). In particular:


[Package rbmi version 1.2.6 Index]