powered by
Define a sequence of evenly spaced values from the minimum to the maximum of a vector
seq_range(x, n = 2)
A numeric vector
An integer specifying the length of sequence (i.e., number of points across the range of x)
x
A vector of length n.
n
mean_or_mode, build_datalist
mean_or_mode
build_datalist
# NOT RUN { identical(range(1:5), seq_range(1:5, n = 2)) seq_range(1:5, n = 3) # }
Run the code above in your browser using DataLab