diff --git a/R/render.R b/R/render.R index 728aee09..1c97161a 100644 --- a/R/render.R +++ b/R/render.R @@ -252,7 +252,7 @@ grid_renderer <- function( counts <- grid_count(birth, target, timestep, weights) for (i in seq_along(counts)) { renderer$render( - paste0('grid_', prefix, i), + paste0('grid_', prefix, i - 1), counts[[i]], timestep )