create_bins | R Documentation |
This is an internal routine and shouldn't be necessary in normal analyses.
create_bins(data, cutpoints)
data |
|
cutpoints |
vector of cutpoints for the bins |
argument data
with two extra columns distbegin
and
distend
.
David L. Miller
## Not run:
library(Distance)
data(minke)
# put the minke data into bins 0-1, 1-2, 2-3 km
minke_cuts <- create_bins(minke[!is.na(minke$distance),], c(0,1,2,3))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.