1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{cut_interval}
\alias{cut_interval}
\title{Cut numeric vector into intervals of equal length.}
\usage{
cut_interval(x, n = NULL, length = NULL, ...)
}
\arguments{
\item{x}{numeric vector}
\item{n}{number of intervals to create, OR}
\item{length}{length of each interval}
\item{...}{other arguments passed on to \code{\link{cut}}}
}
\description{
Cut numeric vector into intervals of equal length.
}
\examples{
table(cut_interval(1:100, n = 10))
table(cut_interval(1:100, n = 11))
table(cut_interval(1:100, length = 10))
}
\seealso{
\code{\link{cut_number}}
}
|