Skip to content

Commit

Permalink
Corrected age output names in Demography vignette to enable it to run…
Browse files Browse the repository at this point in the history
… (e.g., n_age... rather than n_...)
  • Loading branch information
RJSheppard committed Jun 26, 2024
1 parent a6692e3 commit 9142c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/Demography.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ convert_to_long <- function(age_min, age_max, output) {
data.frame(
age_lower = age_min[[i]],
age_upper = age_max[[i]],
n = output[,paste0('n_', age_min[[i]], '_',age_max[[i]])],
n = output[,paste0('n_age_', age_min[[i]], '_',age_max[[i]])],
age_plot = age_min[[i]]/365,
run = output$run,
timestep = output$timestep)
Expand Down

0 comments on commit 9142c58

Please sign in to comment.