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.
data |
A data frame in which to find variables supplied in model.eff and model.cost . Among these,
effectiveness, cost and treatment indicator (only two arms) variables must always be provided and named 'e', 'c' and 't' respectively.
|
model.eff |
A formula expression in conventional R linear modelling syntax. The response must be a health economics
effectiveness outcome ('e') whose name must correspond to that used in data , and
any covariates are given on the right-hand side. If there are no covariates, specify 1 on the right hand side.
By default, covariates are placed on the "location" parameter of the distribution through a linear model.
Random effects can also be specified for each model parameter.
|
model.cost |
A formula expression in conventional R linear modelling syntax. The response must be a health economics
cost outcome ('c') whose name must correspond to that used in data , and any covariates are given on the right-hand side.
If there are no covariates, specify 1 on the right hand side. By default, covariates are placed on the "location"
parameter of the distribution through a linear model. Random effects can also be specified for each model parameter.
|
type |
Type of missingness mechanism assumed. Choices are Missing At Random (MAR) and Missing Not At Random (MNAR).
|
center |
Logical. If center is TRUE all the covariates in the model are centered.
|