powered by
Creates an evenly spaced, pretty sequence of numbers for a range of a vector.
pretty_range(x)
A numeric vector.
A numeric vector with a range corresponding to the minimum and maximum values of x.
x
# NOT RUN { library(sjmisc) data(efc) x <- std(efc$c12hour) x # pretty range for vectors with decimal points pretty_range(x) # pretty range for large range pretty_range(1:1000) # }
Run the code above in your browser using DataLab