Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # Place a symbol at the end of the first axis number (text)
  2. blg_frmt_symbol_append <- function (x, first = TRUE) {
  3. fun <- function(labels) {
  4. pos <- if (first) which(!is.na(labels))[1L] else rev(which(!is.na(labels)))[1L]
  5. labels[pos] <- paste(labels[pos], x)
  6. labels
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement