seq_range | R Documentation |
This function is an implementation of seq
in which the user can simply input a range (i.e., a vector of two numbers).
seq_range(range, ...)
range |
A vector of two numbers representing |
... |
Other arguments passed to |
Edward Lavender
#### Define a vector
x <- runif(10, 1, 5)
#### Example (1) A sequence of specified length
seq_range(range(x), length.out = 10)
#### Example (2) A sequence with a specified increment
seq_range(range(x), by = 0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.