prepareData: Prepare data for the QI-computation.

Description Usage Arguments Value

View source: R/make_qi.R

Description

Data preparation includes restricting to the GG, defining the static part of the weights, etc. We introduce this data preparation step in order to be able to do subsequent bootstrap resampling faster.

Usage

1
prepareData(qi, clean_data)

Arguments

qi

A qi (i.e. class qi)

clean_data

A data.frame containing the cleaned patient survey data (all non-missing values are relevant for computation)

Value

Takes the cleaned data set, applies GG condition, restricts to relevant columns and returns the resulting data set as a data.frame.


iqtigorg/iqtigprm documentation built on Dec. 20, 2021, 7:58 p.m.