R/rle-deprecated.R

Defines functions compact.rle

Documented in compact.rle

#  File R/rle-deprecated.R in package rle, currently hosted at https://github.com/statnet/rle .
#
#  This software is distributed under the GNU General Public License Version 3 or later.
#  A copy of this license may be found at https://www.gnu.org/licenses/gpl-3.0.en.html .
#
#  Copyright 2017-2020 Pavel N. Krivitsky and others (see inst/COPYRIGHT).
#######################################################################
#' @name rle-deprecated
#' @title Deprecated functions from `rle`
#' @param ... arguments to deprecated functions.
NULL

#' @rdname rle-deprecated
#' @export
compact.rle <- function(...){
  .Deprecated("compress")
  compress(...)
}

Try the rle package in your browser

Any scripts or data that you put into this service are public.

rle documentation built on Jan. 13, 2021, 6:17 p.m.