Learn R Programming

do (version 2.0.0.1)

duplicated_last: Determine Duplicate Elements in the Last Position

Description

Determine Duplicate Elements in the Last Position

Usage

duplicated_last(x)

Value

logical value

Arguments

x

character

Examples

Run this code
x=c(1,3,2,1,2)
duplicated(x)
duplicated_last(x)

Run the code above in your browser using DataLab