segment_range | R Documentation |
cut a segment defined by a range in 1D coordinate into n pieces
segment_range(range = c(0, 1), n, scale = NA, return.cutter = T)
range |
a vector of 2 numeric values defining a segment |
n |
cut the segment into |
scale |
a vector of |
return.cutter |
only return the coordinate values of internal cutters |
a vector of n+1 or n-1 if return.cutter
segment_range(c(0,10), 3, scale = c(1, 2, 7), return.cutter = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.