Takes input data and a model plan and passes to the model engine specified. Current supported engines are the `gemtc` package (using mtc.model & mtc.run) or `rjags` (using jags and dic.samples functions)

nma_fit(model_input)

Arguments

model_input

a list containing named elements fitting_data (data which has been pre-processed) and plan (list object containing all input parameters)

Value

model object of class `rjags` or `mtc.result`