Change axis scale.
xscale(
x,
scale = c("none", "log", "log2", "log10", "scientific"),
type = c("scale", "inv", "format"),
format_digits = 1
)
axis scale. Allowed values are one of c("none", "log2", "log10", "sqrt", "percent", "dollar", "scientific"); e.g.: .scale="log2".
Digits to keep while formatting
Inverse value back to its original.
logical value. If TRUE, axis tick mark labels will be formatted when scale = "log2" or "log10".