powered by
Calculate the width of the range of x
width(x)
object to calculate range for
The width of the range of x as integer.
x
# NOT RUN { width(1:10) width(c(6748, 234, 2456, 5678)) width(sample(345)) # }
Run the code above in your browser using DataLab