h_assert_data {tern.mmrm} | R Documentation |
Assertions for Datasets
Description
We provide assertion functions to check the input dataset.
Usage
h_assert_one_rec_pt_visit(vars, data)
h_assert_rsp_var(vars, data)
h_assert_visit_var(vars, data)
h_assert_id_var(vars, data)
h_assert_weights_var(vars, data)
h_assert_data(vars, data)
Arguments
vars |
( |
data |
( |
Value
Nothing, only fails with an error if assertion does not hold.
Functions
-
h_assert_one_rec_pt_visit()
: asserts single record per patient and visit. -
h_assert_rsp_var()
: assert numeric response variable. -
h_assert_visit_var()
: assert factor visit variable. -
h_assert_id_var()
: assert subject ID variable. -
h_assert_weights_var()
: assert numeric weights variable. -
h_assert_data()
: high-level assertion function to check the dataset.
[Package tern.mmrm version 0.3.2 Index]