I'm trying to plot overimpute in an own plot:
plot(amelia_result, var_names, overimpute=TRUE, compare=FALSE)
However your function set.mfrow is forcing mfrow to c(2,1) when overimpute=TRUE
I would propose to extend the if statement to check if both compare and overimpute is TRUE, before forcing mfrow to c(2,1)
I'm trying to plot overimpute in an own plot:
plot(amelia_result, var_names, overimpute=TRUE, compare=FALSE)
However your function set.mfrow is forcing mfrow to c(2,1) when overimpute=TRUE I would propose to extend the if statement to check if both compare and overimpute is TRUE, before forcing mfrow to c(2,1)
The current result (small in height);