ggplot2
plots, if desired.return a flip term for ggplot2
plots, if desired.
util_coord_flip(w, h, p, ref_env, ...)
coord_flip
or coord_cartesian
width of the plot to determine its aspect ratio
height of the plot to determine its aspect ratio
the ggplot2
object, so far. If w
or h
are missing, p
is used
for an estimate on w
and h
, if both axes are discrete.
environment of the actual entry function, so that the correct formals can be detected.
additional arguments for coord_flip
or coord_cartesian