https://github.com/cran/FedData
Raw File
Tip revision: 781f93f0720f7fb19ac70db9c6073c69b6cb2e2b authored by R. Kyle Bocinsky on 28 November 2022, 07:00:02 UTC
version 3.0.1
Tip revision: 781f93f
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