Skip to content

Commit

Permalink
store centered intercept by default
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Jan 9, 2024
1 parent 9d165d6 commit 39399e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/exclude_pars.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ exclude_pars.btl <- function(x, data, save_pars, ...) {
p <- usc(combine_prefix(x))
c(out) <- paste0("chol_cor", p)
if (!save_pars$all) {
# removed the "Intercept" and "first_Intercept" parameters from this list
# to reduce the number of models that need refitting for moment matching
par_classes <- c(
"bQ", "zb", "zbsp", "zbs", "zar", "zma", "hs_local", "R2D2_phi",
"scales", "Intercept", "first_Intercept", "merged_Intercept",
"zcar", "nszcar", "zerr"
"scales", "merged_Intercept", "zcar", "nszcar", "zerr"
)
c(out) <- paste0(par_classes, p)
smef <- tidy_smef(x, data)
Expand Down

0 comments on commit 39399e6

Please sign in to comment.