View source: R/data_read_selection.R

data_read_selection | R Documentation |

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_read_selection(
data,
model.eff,
model.cost,
model.me,
model.mc,
type,
center
)
```

`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 |

`model.me` |
A formula expression in conventional |

`model.mc` |
A formula expression in conventional R linear modelling syntax. The response must be indicated with the
term 'mc'(missing costs) and any covariates used to estimate the probability of missing costs should be given on the right-hand side.
If there are no covariates, specify |

`type` |
Type of missingness mechanism assumed. Choices are Missing At Random (MAR) and Missing Not At Random (MNAR). |

`center` |
Logical. If |

```
#Internal function only
#no examples
#
#
```

missingHE documentation built on March 31, 2023, 10:27 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.