update_inits {shinyMixR} | R 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)
[Package shinyMixR version 0.5.1 Index]