View source: R/slicesDeprecated.R
Returns an ordered vector of values from given interval, of given size, generated by equal steps.
slices(from, to, n)
The lower bound of the interval.
The upper bound of the interval.
The length of the vector to be produced.
Returns a vector of values from
to (inclusive), with
equal difference between two consecutive values, with total length
Function is useful e.g. together with the
defuzz functions (for the
values argument; see also
A vector of numbers in the given interval and size.
## Not run: slices(1, 5, 10) # 1, 1.5, 2, 2.5, 3, 3.5 4, 4.5, 5 ## End(Not run) # is the same as seq(1, 5, length.out=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.