I'm making a chart where the X axis will have '%'.
ggplot(
data = cars,
aes(
x = speed,
y = dist
)
) +
geom_point() +
scale_x_continuous(
labels = function(x) paste0(x,'%'),
)
I only want either the first tick or last tick on the X axis to have the '%'. How do I do this?