Description Usage Arguments Value Examples
binBreaks
computes the breaks of tiled windows over a range.
It is equal to the base function seq()
.
binCenters
computes the centre of tiled windows over a range.
1 2 3 | binBreaks(from, to, width)
binCenters(from, to, width)
|
from |
Start coordinate of the windows. |
to |
End coordinate of the windows. |
width |
Width of the windows. |
For n bins:
binBreaks
A numeric vector of length n+1 representing the breaks between bins.
binCenters
A numeric vector of length n representing the center of each bin.
1 2 | binBreaks(-500, 500, 10)
binCenters(-500, 500, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.