<html><head></head><body><div class="ydp65ab6398yahoo-style-wrap" style="font-family: bookman old style, new york, times, serif; font-size: 16px;"><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">Boa tarde prezados!!! Parece um do "ridículas", mas não consegui resolver. Segue o vetor de exemplo:</div><div><br></div><div dir="ltr" data-setdir="false"> <div><div><font color="#4c76a2">teste<-c(rep("EIA/EF/EQ/Q (Índice) IgG - Valor (DO/CO, Índice)",3),rep("EIA/EF/EQ/Q (U/mL) IgG - Valor (U/mL)",5))</font></div><div><font color="#4c76a2">data.frame(teste)</font></div><div><br></div></div></div><div dir="ltr" data-setdir="false">Eu preciso <b>apagar</b> os trechos do meu data.frame onde aparece o termo <font color="#cd232c">"<span style="font-family: bookman old style, new york, times, serif; font-size: 16px;">EIA/EF/EQ/Q (U/mL)</span>"</font>. Tentei usar o comando abaixo:<br></div><div><br></div><div dir="ltr" data-setdir="false"> <span><font color="#4c76a2" style="background-color: inherit;">gsub("EIA/EF/EQ/Q (U/mL)","",teste)</font></span><br></div></div><br></div><div dir="ltr" data-setdir="false">mas não obtive sucesso. Alguém teria uma ideia de onde estou errando, ou se tem algum comando melhor no tidyverse ou dplyr para fazer isso?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Obrigado!!! </div><div><br></div><div class="ydp65ab6398signature"><div style="font-family:Helvetica, Arial, sans-serif;font-size:16px;"><div style="margin-bottom:0.0001pt;padding:0px;line-height:normal;background:white;"><i id="ydpcf278505yui_3_16_0_1_1497025264182_38508"><span id="ydpcf278505yui_3_16_0_1_1497025264182_38507" style="color:rgb(0, 0, 191);font-size:medium;"><font face="Courier New, courier, monaco, monospace, sans-serif" style="background-color: inherit;">Diogo Jerônimo</font></span></i></div><div style="margin-bottom:0.0001pt;padding:0px;line-height:normal;background:white;"><i id="ydpcf278505yui_3_16_0_1_1497025264182_38430"><span id="ydpcf278505yui_3_16_0_1_1497025264182_38429" style="color:rgb(0, 0, 191);font-size:medium;"><font face="Courier New, courier, monaco, monospace, sans-serif" style="background-color: inherit;">Bacharel em Ciências Estatísticas - ENCE/IBGE</font></span></i></div><div style="margin-bottom:0.0001pt;padding:0px;line-height:normal;background:white;"><i id="ydpcf278505yui_3_16_0_1_1497025264182_38309"><span id="ydpcf278505yui_3_16_0_1_1497025264182_38308" style="color:rgb(0, 0, 191);font-size:medium;"><font face="Courier New, courier, monaco, monospace, sans-serif" style="background-color: inherit;">Mestre em Metrologia - PUC-Rio/PósMQI</font></span></i></div><div style="margin-bottom:0.0001pt;padding:0px;line-height:normal;background:white;"><i id="ydpcf278505yui_3_16_0_1_1497025264182_38329"><span id="ydpcf278505yui_3_16_0_1_1497025264182_38328" style="color:rgb(0, 0, 191);font-size:medium;"><font face="Courier New, courier, monaco, monospace, sans-serif" id="ydpcf278505yui_3_16_0_1_1497025264182_38700" style="background-color: inherit;">CONRE: 8514 - SÉRIE A</font></span></i></div><div style="margin-bottom:0.0001pt;padding:0px;line-height:normal;background:white;"><i id="ydpcf278505yui_3_16_0_1_1497025264182_38323"><span id="ydpcf278505yui_3_16_0_1_1497025264182_38322" style="line-height:17.12px;color:rgb(0, 0, 191);font-size:medium;"><font face="Courier New, courier, monaco, monospace, sans-serif" id="ydpcf278505yui_3_16_0_1_1497025264182_38695" style="background-color: inherit;">http://lattes.cnpq.br/8996149312896520</font></span></i><br></div></div></div></div></body></html>