View source: R/write_selection.R
| write_selection | R Documentation |
A function to write the code for a selection model Alternatives vary depending on the type of distribution assumed for the effect and cost variables, type of missingness mechanism assumed and independence or joint modelling This function selects which type of model to execute.
write_selection(dist_e, dist_c, type, model_txt_info)
dist_e |
Distribution assumed for the effects. Current available choices are: Normal ( |
dist_c |
Distribution assumed for the costs. Current available choices are: Normal ( |
type |
Type of missingness mechanism assumed. Choices are Missing At Random ( |
model_txt_info |
list containing model specification information used to write the |
#Internal function only
#No examples
#
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.