mat_keep_first: remove duplicated in vector

Description Usage Arguments Examples

View source: R/utilities.R

Description

remove duplicated in vector

Usage

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

Arguments

x

vector

fill

which value to use

warn

SHould warn for non-sorted?

Examples

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

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.