You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gghistogram computes internally some descriptive statistics before adding the mean line. These descriptive stats include mean, iqr, sd, var, cv, median, se.
Using any of these key words as x variable, will give the same behavior when add = "mean" or add = "median".
This code
leads to this strange result:
It can be remedied by replacing
var
withvari
. This leads to the expected outcome:The text was updated successfully, but these errors were encountered: