Learn R Programming

shinyMixR (version 0.5.3)

update_inits: Update initial estimates from a final model run

Description

This function update the initial estimates from a model using the final estimates from a model result file. Currently this function assumes all models were submitted using shinyMixR opposed to vanilla nlmixr

Usage

update_inits(mod, res, out)

Value

nothing will be returned the function saves the updated model to disk

Arguments

mod

character with the entire model function included

res

character with the path to the model result RDS which holds the final estimated

out

character with the path for the updated model to save

Author

Richard Hooijmaijers

Examples

Run this code

if (FALSE) {
  update_inits(readLines("run2.r"),"shinyMixR/run2.res.rds","run3.r")
}

Run the code above in your browser using DataLab