powered by
Sequence generation between min and max
seq_range(x, length.out = 25)
a numeric vector
(numeric) A numeric vector.
numeric
(integer) Desired length of the sequence (a positive integer).
integer
seq_range(x, length.out) is a shortcut for seq(min(x, na.rm = TRUE), max(x, na.rm = TRUE), length.out = length.out)
seq_range(x, length.out)
seq(min(x, na.rm = TRUE), max(x, na.rm = TRUE), length.out = length.out)
seq_range(iris$Petal.Length)
Run the code above in your browser using DataLab