<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div class="signature" id="yui_3_16_0_1_1422969959852_3597"><div align="center" id="yui_3_16_0_1_1422969959852_3596"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3709">Bom dia Pessoal,</span><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3659"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3658"> Se quero separar somente os elementos em comum entre dois data frames hipotéticos, uso merge, sendo:</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3651"><div class="" style="" id="yui_3_16_0_1_1422969959852_3650">a1 <- data.frame(a = 1:5, b=letters[1:5])</div><div class="" style="" id="yui_3_16_0_1_1422969959852_3652">a2 <- data.frame(a = 1:3, b=letters[1:3])</div><div class="" style="" id="yui_3_16_0_1_1422969959852_3653">merge(a1,a2)</div><div class="" style="" id="yui_3_16_0_1_1422969959852_3654">a1</div><div class="" style="" id="yui_3_16_0_1_1422969959852_3655">a2</div></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3656"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3657">Mas e para separar somente os elementos desiguais entre os dois data frames, o que eu poderia utilizar?</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3710"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3711">Obrigado,</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3712"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px; text-align: start;" class="" id="yui_3_16_0_1_1422969959852_3714"><pre cols="72" class="" style="" id="yui_3_16_0_1_1422969959852_3713">--
==============================<wbr class="" style="">==============================<wbr class="" style="">==========
Alexandre dos Santos
Proteção Florestal
IFMT - Instituto Federal de Educação, Ciência e Tecnologia de Mato Grosso
Campus Cáceres
Caixa Postal 244
Avenida dos Ramires, s/n
Bairro: Distrito Industrial
Cáceres - MT CEP: 78.200-000
Fone: <a href="tel:%28%2B55%29%2065%208132-8112" value="+556581328112" target="_blank" style="color: rgb(17, 85, 204);" class="" id="yui_3_16_0_1_1422969959852_3715">(+55) 65 8132-8112</a> (TIM) <a href="tel:%28%2B55%29%2065%209686-6970" value="+556596866970" target="_blank" style="color: rgb(17, 85, 204);" class="" id="yui_3_16_0_1_1422969959852_3728">(+55) 65 9686-6970</a> (VIVO)
<a href="mailto:e-mails:alexandresantosbr@yahoo.com.br" target="_blank" style="color: rgb(17, 85, 204);" class="" id="yui_3_16_0_1_1422969959852_3716">e-mails:alexandresantosbr@<wbr class="" style="">yahoo.com.br</a>
<a href="mailto:alexandre.santos@cas.ifmt.edu.br" target="_blank" style="color: rgb(17, 85, 204);" class="" id="yui_3_16_0_1_1422969959852_3717">alexandre.santos@cas.ifmt.edu.<wbr class="" style="">br</a>
Lattes: <a href="http://lattes.cnpq.br/1360403201088680" target="_blank" style="color: rgb(17, 85, 204);" class="">http://lattes.cnpq.br/<wbr class="" style="">1360403201088680</a>
==============================<wbr class="" style="">==============================<wbr class="" style="">==========</pre></div></div></div></div></body></html>