Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo authored and ntorresd committed Dec 15, 2023
1 parent fe0e2e2 commit 9346f6a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/visualisation.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ plot_foi <- function(seromodel_object,
ggplot2::theme(plot.title = ggplot2::element_text(size = 10))
} else {
if (!is.null(seromodel_object@sim$samples)) {
foi <- rstan::extract(seromodel_object,
"foi",
inc_warmup = FALSE
)[[1]]
#-------- This bit is to get the actual length of the foi data
foi_data <- get_foi_central_estimates(
seromodel_object = seromodel_object,
Expand Down

0 comments on commit 9346f6a

Please sign in to comment.