diff --git a/R/reshape_ci.R b/R/reshape_ci.R index e1e60c4bf..78512c454 100644 --- a/R/reshape_ci.R +++ b/R/reshape_ci.R @@ -43,6 +43,7 @@ reshape_ci <- function(x, ci_type = "CI") { # Reshape if (length(unique(x$CI)) > 1) { if ("Parameter" %in% names(x)) { + idvar <- "Parameter" remove_parameter <- FALSE } else if (!is.null(attr(x, "idvars"))) { idvar <- attr(x, "idvars")