mat_keep_first: remove duplicated in vector

View source: R/utilities.R

mat_keep_firstR Documentation

remove duplicated in vector

Description

remove duplicated in vector

Usage

mat_keep_first(x, fill = "", warn = TRUE)

Arguments

x

vector

fill

which value to use

warn

SHould warn for non-sorted?

Examples

mat_keep_first(rep(1:3, 1:3))

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.