https://github.com/cran/FedData
Raw File
Tip revision: 5938c5aab5300be4f7e109a67f9b87efaf327b05 authored by R. Kyle Bocinsky on 12 October 2016, 09:00:43 UTC
version 2.3.1
Tip revision: 5938c5a
sequential_duplicated.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UTILITY_FUNCTIONS.R
\name{sequential_duplicated}
\alias{sequential_duplicated}
\title{Get a logical vector of which elements in a vector are sequentially duplicated.}
\usage{
sequential_duplicated(x, rows = F)
}
\arguments{
\item{x}{An vector of any type, or, if \code{rows}, a matrix.}

\item{rows}{Is x a matrix?}
}
\value{
A logical vector of the same length as x.
}
\description{
Get a logical vector of which elements in a vector are sequentially duplicated.
}
\keyword{internal}

back to top