Skip to content

Commit

Permalink
fix: rdata file name and M parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
Chantel Wetzel committed May 3, 2023
1 parent 3f9bc22 commit 8b4129e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/rerun_profile_vals.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' @example
#' rerun_profile_vals(mydir = file.path(directory, "base_model"),
#' model_settings = model_settings,
#' para_name = "NatM_p_1_Fem_GP_1",
#' para_name = "NatM_uniform_Fem_GP_1",
#' run_num = c(3, 4),
#' data_file_nm = "data.ss")
#'
Expand Down Expand Up @@ -65,7 +65,7 @@ rerun_profile_vals <- function(mydir,
stop(paste0("The input profile_custom does not match a parameter in the control.ss_new file."))
}

load(file.path(profile_dir, paste0(para_name, "_profile_output.Rdat")))
load(file.path(profile_dir, paste0(para_name, "_profile_output.Rdata")))
vec <- vec_unordered
like_check <- profilesummary$likelihoods[1, ]

Expand Down

0 comments on commit 8b4129e

Please sign in to comment.