diff --git a/R/run-model.R b/R/run-model.R index b0d07a5..9d3c369 100644 --- a/R/run-model.R +++ b/R/run-model.R @@ -229,6 +229,8 @@ run_model <- function(model_data, #' #' @param path Character. Optional file path to use for saved data. Defaults to #' the file path used for the original run. +#' @param save_file_path Character. file path and full file name, including .rds +#' extension. #' @param retain_csv Logical Should the Stan csv files be retained. Defaults to #' TRUE if user calls function directly. However, when this function is called #' internally by `run_model` this is set to FALSE. diff --git a/man/save_model_run.Rd b/man/save_model_run.Rd index a14f73f..12cffdb 100644 --- a/man/save_model_run.Rd +++ b/man/save_model_run.Rd @@ -4,7 +4,13 @@ \alias{save_model_run} \title{Save output of run_model()} \usage{ -save_model_run(model_output, retain_csv = TRUE, path = NULL, quiet = FALSE) +save_model_run( + model_output, + retain_csv = TRUE, + path = NULL, + quiet = FALSE, + save_file_path = NULL +) } \arguments{ \item{model_output}{List. Model output generated by \code{run_model()}.} @@ -17,6 +23,9 @@ internally by \code{run_model} this is set to FALSE.} the file path used for the original run.} \item{quiet}{Logical. Suppress progress messages? Default \code{FALSE}.} + +\item{save_file_path}{Character. file path and full file name, including .rds +extension.} } \value{ Nothing. Creates an \code{.rds} file at \code{path}.