<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Gostaria de plotar duas regressões lineares no mesmo frame.<br>Para tal plotei os pontos utilizando os comandos abaixo:<br>x1=data$SLA1<br>y1=data$LLS 1<br>x2=data$SLA2<br>y2=data$LLS2 <br>plot(x1, y1, type='p', xlim=range(x1,x2), ylim=range(y1, y2), xlab='x', ylab='y') <br>points(x2, y2, type='p', col="red", xlab='x', ylab='y') <br><br>reg1=lm(y1~x1)<br>reg2=lm(y2~x2)<br>Mas ao tentar aplicar as linhas de tendência utilizando abline(reg1) e abline(reg2) não obtive resultado algum.<br>Como devo proceder para adicionar as linhas das regressões a essas figuras?<br>Muito obrigado pela ajuda. <br> <br></div><div style="text-align:left;"><font style="font-family:times new roman, new york, times, serif;font-style:italic;" size="4"><span style="color:rgb(0, 0, 255);">Marcelo Claro de Souza</span></font><br></div><div><font
 size="1">Biologist, PhD student in Plant Biology<br>Institute of Bioscience - UNESP, Brazil<br><br></font><style><!--p.MsoNormal, li.MsoNormal, div.MsoNormal    {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}a:link, span.MsoHyperlink   {color:blue;text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed     {color:purple;text-decoration:underline;}filtered {margin:70.85pt 3.0cm 70.85pt 3.0cm;}div.Section1     {}--></style><span style="font-size:10pt;"></span> </div></div></body></html>