Skip to content

Commit

Permalink
changed redundant var names
Browse files Browse the repository at this point in the history
  • Loading branch information
marton-balazs-kovacs committed Jun 3, 2024
1 parent a4ce14a commit a87ffea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-raw/bf_anova_precalculations.r
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ future::plan(multisession, workers = n_cores)

# Dataframe is created with "./data-raw/options/anova_options_bayesian.R
bayes_anova_options <- readr::read_csv(here("data/options/ssp_anova_options_bayesian.csv")) |>
mutate(iter = row_number())
mutate(row_id = row_number())

# Set file directory -----------------------------------------------------------

Expand All @@ -43,7 +43,7 @@ n_batches <- 75

# First, we split all the iteration as list
bayes_anova_options_split <-
split(bayes_anova_options, bayes_anova_options$iter)
split(bayes_anova_options, bayes_anova_options$row_id)

# Since each iteration has 75 possible configuration, then we need:
n_saves <- ceiling(length(bayes_anova_options_split) / n_batches)
Expand Down

0 comments on commit a87ffea

Please sign in to comment.