update_inits: Update initial estimates from a final model run

View source: R/update_inits.r

update_initsR Documentation

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)

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

Value

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

Author(s)

Richard Hooijmaijers

Examples


## Not run: 
  update_inits(readLines("run2.r"),"shinyMixR/run2.res.rds","run3.r")

## End(Not run)

shinyMixR documentation built on April 12, 2025, 2:25 a.m.