<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
> df$d <- df$label %in% unique(df$label[duplicated(df$label)])<br>
> df<br>
label value d<br>
1 A 4 TRUE<br>
2 B 3 TRUE<br>
3 C 6 FALSE<br>
4 B 3 TRUE<br>
5 B 1 TRUE<br>
6 A 2 TRUE<br>
7 A 4 TRUE<br>
8 A 4 TRUE<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/03/16 22:36, Wagner Tassinari
wrote:<br>
</div>
<blockquote
cite="mid:CAFOcm=-tE-o9D_wrMewHueYvny0031KGixL+xiNyZ2vk+qVgfA@mail.gmail.com"
type="cite">
<div><font size="1">df <- read.table(header=TRUE, text='</font></div>
<div><font size="1"> label value</font></div>
<div><font size="1"> A 4</font></div>
<div><font size="1"> B 3</font></div>
<div><font size="1"> C 6</font></div>
<div><font size="1"> B 3</font></div>
<div><font size="1"> B 1</font></div>
<div><font size="1"> A 2</font></div>
<div><font size="1"> A 4</font></div>
<div><font size="1"> A 4</font></div>
<div><font size="1"> ')</font></div>
</blockquote>
<br>
</body>
</html>