data_read_pattern {missingHE} | R Documentation |
A function to read and re-arrange the data in different ways
Description
This internal function imports the data and outputs only those variables that are needed to run the model according to the information provided by the user.
Usage
data_read_pattern(data, model.eff, model.cost, type, center)
Arguments
data |
A data frame in which to find variables supplied in |
model.eff |
A formula expression in conventional |
model.cost |
A formula expression in conventional |
type |
Type of missingness mechanism assumed. Choices are Missing At Random (MAR) and Missing Not At Random (MNAR). |
center |
Logical. If |
Examples
#Internal function only
#no examples
#
#