https://github.com/cran/FedData
Raw File
Tip revision: ec6fb1cf6e009ff2cbdea0287158d33821578667 authored by R. Kyle Bocinsky on 17 March 2024, 00:40:03 UTC
version 4.0.1
Tip revision: ec6fb1c
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