<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Pessoal,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Estou rodando um script e preciso extrair os dados dos coeficientes ajustados para um modelo. No meu exemplo, quero extrair e separar os valores "k" e "n".</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style=""><div class="gmail_default" style="font-family:monospace,monospace"><b><i>> data.frame(A)</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i> M R</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>1 10 24.61</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>2 20 29.41</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>3 30 33.07</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>4 40 37.37</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>5 50 38.22</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>6 60 41.14</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>7 70 41.61</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>8 80 43.41</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>9 90 47.18</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>10 100 48.77</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>11 110 51.02</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>12 120 52.95</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>13 130 52.98</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i>14 140 52.92</i></b></div><div class="gmail_default" style="font-family:monospace,monospace"><b><i><br></i></b></div><div class="gmail_default" style=""><div class="gmail_default" style=""><font face="monospace, monospace"><b><i>> model<-nls(R~k*M^n, start=list(k=0.5,n=1))</i></b></font></div><div class="gmail_default" style=""><font face="monospace, monospace"><b><i>> summary(model)</i></b></font></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">Obrigado</div><div class="gmail_default" style=""><font face="monospace, monospace"><br></font></div><div class="gmail_default" style=""><font face="monospace, monospace"><br></font></div></div></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b>----</b></div><b><div><b><br></b></div><font face="monospace, monospace">Pedro Henrique Campelo Felix</font></b><div><i><font face="monospace, monospace">Bachelor of Food Engineering (UNI-BH)</font></i></div><div><i><font face="monospace, monospace">Msc. Chemical Engineering (UFMG)</font></i></div><div><i><font face="monospace, monospace">PhD Student of Food Science (UFLA)</font></i></div><div><font face="monospace, monospace"><br></font></div><div><b><font face="monospace, monospace">+55 (31) 97560-1545 (TIM)</font></b><font size="1"><i><font face="monospace, monospace"><br></font></i><font size="2"><i><font face="monospace, monospace">"</font></i><span style="color:rgb(0,0,0);font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important;background-color:rgb(255,255,255)"><i><font face="monospace, monospace">Nós somos aquilo que fazemos repetidamente. Excelência, então, não é um modo de agir, mas um hábito." Aristóteles</font></i><br></span></font></font></div></div></div></div></div></div></div></div></div></div></div></div>
</div>