In the base graph, we can easily add label marks on different sides of the graph using the axis and side arguments:
par(tck = 0.025) plot(1:10) axis(side = 3, labels = FALSE) axis(side = 4, labels = FALSE)
How can I mark checkmarks x and y on top and right in ggplot2 ? There is annotation_logticks that can do this, but it only seems to work well for logarithmic scales (since the function name is used). For linear scales, is there such an easy way?
source share